code-server (c513954671b452f03b5d6f96494ad899e3daf2fc)
Published 2024-11-11 19:38:34 +00:00 by merith-tk
Installation
docker pull git.merith.xyz/oci/code-server:c513954671b452f03b5d6f96494ad899e3daf2fc
sha256:fb94832198c6ae2d6d5a992c17647d581c526bb9da4041f6c863c6fc81e69024
Image Layers
ADD file:b4987bca8c4c4c640d6b71dcccfd7172b44771e0f851a47d05c00c2bdcd204f6 in / |
CMD ["bash"] |
RUN /bin/sh -c apt-get update && apt-get install -y curl dumb-init git git-lfs htop locales lsb-release man-db nano openssh-client procps sudo vim-tiny wget zsh && git lfs install && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c sed -i "s/# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen && locale-gen # buildkit |
ENV LANG=en_US.UTF-8 |
RUN /bin/sh -c adduser --gecos '' --disabled-password coder && echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd # buildkit |
RUN /bin/sh -c ARCH="$(dpkg --print-architecture)" && curl -fsSL "https://github.com/boxboat/fixuid/releases/download/v0.6.0/fixuid-0.6.0-linux-$ARCH.tar.gz" | tar -C /usr/local/bin -xzf - && chown root:root /usr/local/bin/fixuid && chmod 4755 /usr/local/bin/fixuid && mkdir -p /etc/fixuid && printf "user: coder\ngroup: coder\n" > /etc/fixuid/config.yml # buildkit |
COPY ci/release-image/entrypoint.sh /usr/bin/entrypoint.sh # buildkit |
RUN /bin/sh -c dpkg -i /tmp/packages/code-server*$(dpkg --print-architecture).deb # buildkit |
ENV ENTRYPOINTD=/entrypoint.d |
EXPOSE map[8080/tcp:{}] |
USER 1000 |
ENV USER=coder |
WORKDIR /home/coder |
ENTRYPOINT ["/usr/bin/entrypoint.sh" "--bind-addr" "0.0.0.0:8080" "."] |
USER root |
ENV DEFAULT_WORKSPACE=/workspace |
ENV DOCKER_USER=code |
VOLUME [/home /workspace] |
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git curl wget vim zsh tmux htop tree jq unzip zip gcc g++ make cmake python3 python3-pip python3-venv && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c curl -o /usr/bin/entrypoint.sh https://raw.githubusercontent.com/coder/code-server/main/ci/release-image/entrypoint.sh && chmod +x /usr/bin/entrypoint.sh # buildkit |
ENTRYPOINT ["/usr/bin/entrypoint.sh" "--bind-addr" "0.0.0.0:8080" "/workspace"] |
Details
2024-11-11 19:38:34 +00:00
Versions (3)
View all
Container
1
OCI / Docker
linux/amd64
400 MiB
c513954671b452f03b5d6f96494ad899e3daf2fc
2024-11-11
nightly
2024-11-11
03af14d425f49390848722ca0ef260d128921ae3
2024-11-03