From d40147d61c0b751e7940d3743f08fd6baf058f91 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sun, 14 Apr 2024 09:10:35 -0600 Subject: [PATCH] source command is a bash thing it doesn't exist in sh --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b7308c4..20ec3cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,4 @@ RUN apt update -y && \ RUN wget https://go.dev/dl/go1.22.2.linux-amd64.tar.gz && \ rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.2.linux-amd64.tar.gz && \ rm -rf *.tar.gz && \ - echo "export PATH=$PATH:/usr/local/go/bin" >> /root/.profile && source /root/.profile + echo "export PATH=$PATH:/usr/local/go/bin" >> /root/.profile && . /root/.profile