development-environment/Dockerfile
Steven Polley ddd4ddddf2
All checks were successful
continuous-integration/drone/push Build is passing
Formatting changes on Dockerfile
2020-10-04 21:40:00 +00:00

19 lines
544 B
Docker

FROM codercom/code-server:latest
LABEL maintainer="himself@stevenpolley.net"
# Update packages
RUN sudo apt update && \
sudo apt upgrade -y && \
sudo apt clean autoclean && \
sudo apt autoremove -y
# Install Go
RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
tar xvfz go1.15.2.linux-amd64.tar.gz && \
sudo chown -R root:root ./go && \
sudo mv go /usr/local && \
rm -f go1.15.2.linux-amd64.tar.gz
# Start code-server
ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "."]