Formatting changes on Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steven Polley 2020-10-04 21:40:00 +00:00
parent 6981c8095c
commit ddd4ddddf2

View File

@ -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", "."]