Remove download after installation

This commit is contained in:
2023-06-30 03:06:40 +00:00
parent 0b6dbf17a8
commit 4b5a58bf90
+1
View File
@@ -18,5 +18,6 @@ RUN cd ~
RUN wget "https://dl.google.com/go/$(curl https://go.dev/VERSION?m=text).linux-amd64.tar.gz"
RUN tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz
RUN echo "export PATH=$PATH:/usr/local/go/bin" >> /etc/profile
RUN rm *.linux-amd64.tar.gz
USER ${USER}
WORKDIR /home/${USER}