source command is a bash thing
it doesn't exist in sh
This commit is contained in:
parent
3cbd6eace2
commit
d40147d61c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user