2020-10-04 19:18:15 +00:00
|
|
|
FROM codercom/code-server:latest
|
|
|
|
|
|
|
|
# Install Go
|
|
|
|
RUN curl -O https://golang.org/dl/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: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", "."]
|
|
|
|
|