development-environment/Dockerfile

22 lines
497 B
Docker
Raw Normal View History

2020-10-04 19:18:15 +00:00
FROM codercom/code-server:latest
# Install updated packages
RUN sudo apt update && \
sudo apt upgrade -y && \
sudo apt clean autoclean && \
sudo apt autoremove -y
2020-10-04 19:18:15 +00:00
# Install Go
RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
2020-10-04 19:20:18 +00:00
tar xvfz go1.15.2.linux-amd64.tar.gz && \
2020-10-04 19:29:20 +00:00
sudo chown -R root:root ./go && \
sudo mv go /usr/local && \
2020-10-04 19:18:15 +00:00
rm -f go1.15.2.linux-amd64.tar.gz
ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "."]