elevate permissions to install go
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e0d486812d
commit
425ff202db
@ -2,10 +2,9 @@ FROM codercom/code-server:latest
|
||||
|
||||
# Install Go
|
||||
RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
|
||||
ls -la && \
|
||||
tar xvfz go1.15.2.linux-amd64.tar.gz && \
|
||||
chown -R root:root ./go && \
|
||||
mv go /usr/local && \
|
||||
sudo chown -R root:root ./go && \
|
||||
sudo mv go /usr/local && \
|
||||
rm -f go1.15.2.linux-amd64.tar.gz
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user