diff options
author | crupest <crupest@outlook.com> | 2022-11-29 12:43:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-29 12:43:40 +0800 |
commit | af38b4d04edc3aba35af7f3fce03cbc6ab9ce62f (patch) | |
tree | b1c3522415a328596cfad2871873248a2a8d8b1f /docker | |
parent | f3341615610d64afb86777d3097e33d1b3c7f497 (diff) | |
download | crupest-af38b4d04edc3aba35af7f3fce03cbc6ab9ce62f.tar.gz crupest-af38b4d04edc3aba35af7f3fce03cbc6ab9ce62f.tar.bz2 crupest-af38b4d04edc3aba35af7f3fce03cbc6ab9ce62f.zip |
Use ubuntu for code-server.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/arch-code-server/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/arch-code-server/Dockerfile b/docker/arch-code-server/Dockerfile index 94fd76f..ff1ce98 100644 --- a/docker/arch-code-server/Dockerfile +++ b/docker/arch-code-server/Dockerfile @@ -1,8 +1,8 @@ -FROM node:alpine +FROM ubuntu:latest -RUN apk add --no-cache alpine-sdk bash libstdc++ libc6-compat && npm config set python python3 && npm install --global code-server --unsafe-perm +RUN curl -fsSL https://code-server.dev/install.sh | sh +ENV CODE_SERVER_CONFIG="/data/code-server-config.yaml" WORKDIR /root EXPOSE 8080 VOLUME [ "/data" ] -ENV CODE_SERVER_CONFIG="/data/code-server-config.yaml" ENTRYPOINT [ "code-server", "--bind-addr", "0.0.0.0:8080" ] |