From b52f58b2456ec75bc08e5a8870106cb68daad802 Mon Sep 17 00:00:00 2001 From: smerle33 Date: Thu, 18 Jan 2024 12:24:51 +0100 Subject: [PATCH] hotfix(docker): add golang to path --- sources.pkr.hcl | 1 + 1 file changed, 1 insertion(+) 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",