source command is a bash thing
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/promote/environment Build is failing

it doesn't exist in sh
This commit is contained in:
Steven Polley 2024-04-14 09:10:35 -06:00
parent 3cbd6eace2
commit d40147d61c

View File

@ -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