Formatting changes on Dockerfile
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
6981c8095c
commit
ddd4ddddf2
@ -1,12 +1,12 @@
|
|||||||
FROM codercom/code-server:latest
|
FROM codercom/code-server:latest
|
||||||
|
LABEL maintainer="himself@stevenpolley.net"
|
||||||
|
|
||||||
# Install updated packages
|
# Update packages
|
||||||
RUN sudo apt update && \
|
RUN sudo apt update && \
|
||||||
sudo apt upgrade -y && \
|
sudo apt upgrade -y && \
|
||||||
sudo apt clean autoclean && \
|
sudo apt clean autoclean && \
|
||||||
sudo apt autoremove -y
|
sudo apt autoremove -y
|
||||||
|
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
|
RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
|
||||||
tar xvfz go1.15.2.linux-amd64.tar.gz && \
|
tar xvfz go1.15.2.linux-amd64.tar.gz && \
|
||||||
@ -14,8 +14,5 @@ RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
|
|||||||
sudo mv go /usr/local && \
|
sudo mv go /usr/local && \
|
||||||
rm -f go1.15.2.linux-amd64.tar.gz
|
rm -f go1.15.2.linux-amd64.tar.gz
|
||||||
|
|
||||||
|
# Start code-server
|
||||||
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "."]
|
ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "."]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user