extract gz in tar command
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steven Polley 2020-10-04 13:20:18 -06:00
parent 5caacecdba
commit 2e4428392a

View File

@ -2,7 +2,7 @@ FROM codercom/code-server:latest
# Install Go # Install Go
RUN curl -O https://golang.org/dl/go1.15.2.linux-amd64.tar.gz && \ RUN curl -O https://golang.org/dl/go1.15.2.linux-amd64.tar.gz && \
tar xvf go1.15.2.linux-amd64.tar.gz && \ tar xvfz go1.15.2.linux-amd64.tar.gz && \
chown -R root:root ./go && \ chown -R root:root ./go && \
mv go /usr/local && \ mv go /usr/local && \
rm -f go1.15.2.linux-amd64.tar.gz rm -f go1.15.2.linux-amd64.tar.gz