diff --git a/sources.pkr.hcl b/sources.pkr.hcl index 7d7b0e582..789ccf35e 100644 --- a/sources.pkr.hcl +++ b/sources.pkr.hcl @@ -55,6 +55,7 @@ source "docker" "base" { "ENV LANGUAGE=${element(split(".", var.locale), 0)}:${element(split("_", var.locale), 0)}", "ENV LC_ALL=${var.locale}", "ENV AGENT_WORKDIR=/home/jenkins/agent", + "ENV PATH=$${PATH}:/usr/local/go/bin", "WORKDIR /home/jenkins", "ENTRYPOINT [\"/usr/local/bin/jenkins-agent\"]", "USER jenkins",