2020-10-04 19:18:15 +00:00
|
|
|
FROM codercom/code-server:latest
|
|
|
|
|
|
|
|
# Install Go
|
2020-10-04 19:27:08 +00:00
|
|
|
RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
|
2020-10-04 19:24:01 +00:00
|
|
|
ls -la && \
|
2020-10-04 19:20:18 +00:00
|
|
|
tar xvfz go1.15.2.linux-amd64.tar.gz && \
|
2020-10-04 19:18:15 +00:00
|
|
|
chown -R root:root ./go && \
|
|
|
|
mv go /usr/local && \
|
|
|
|
rm -f go1.15.2.linux-amd64.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "."]
|
|
|
|
|