diff options
author | crupest <crupest@outlook.com> | 2022-10-31 20:14:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-10-31 20:14:32 +0800 |
commit | 16bc28ac505aabd9da7dce085054a86db7904d6e (patch) | |
tree | 373c34c6cc699ddde1d09e5755666b1ae260c27c /docker/code-server/Dockerfile | |
parent | efdfc6feb5744d8ad4bd07e35fa8d662925e3e96 (diff) | |
download | crupest-16bc28ac505aabd9da7dce085054a86db7904d6e.tar.gz crupest-16bc28ac505aabd9da7dce085054a86db7904d6e.tar.bz2 crupest-16bc28ac505aabd9da7dce085054a86db7904d6e.zip |
...
Diffstat (limited to 'docker/code-server/Dockerfile')
-rw-r--r-- | docker/code-server/Dockerfile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/docker/code-server/Dockerfile b/docker/code-server/Dockerfile deleted file mode 100644 index 180cb7e..0000000 --- a/docker/code-server/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM archlinux:latest - -ARG CRUPEST_USER -ARG CRUPEST_GROUP -ARG CRUPEST_UID=1000 -ARG CRUPEST_GID=1000 -ARG CRUPEST_PACKAGES="" -ARG CRUPEST_AUR_PACKAGES="" -ARG USE_CHINA_MIRROR="false" -ARG CHINA_MIRROR_URL="https://mirrors.tuna.tsinghua.edu.cn/archlinux/\$repo/os/\$arch" - -ADD ./archlinux-setup.bash ./archlinux-setup-user.bash ./restore-pacman-conf.py /tmp/ - -ENV CRUPEST_IN_DOCKER="true" -WORKDIR /tmp -RUN /tmp/archlinux-setup.bash -USER ${CRUPEST_UID}:${CRUPEST_GID} -WORKDIR /home/${CRUPEST_USER} -RUN /tmp/archlinux-setup-user.bash - -VOLUME [ "/data" ] -EXPOSE 8080 - -ENV CODE_SERVER_CONFIG="/data/code-server-config.yaml" -ENTRYPOINT [ "code-sever", "--bind-addr", "0.0.0.0:8080" ] |