• Joined on 2024-02-25

code-server (latest)

Published 2025-12-11 06:04:06 +01:00 by felix

Installation

docker pull git.losfatales.de/felix/code-server:latest
sha256:cede71f6fa4a73c10424df12bc537d1488895b078b74785e08608e79ce0cccf1

Image Layers

# debian.sh --arch 'arm64' out/ 'bookworm' '@1763337600'
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 if grep -q 1000 /etc/passwd; then userdel -r "$(id -un 1000)"; fi && 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
RUN /bin/sh -c apt-get update && apt-get install -y git curl wget vim neovim unzip iputils-ping && rm -rf /var/lib/apt/lists/* # buildkit
COPY /bin/kubectl /usr/local/bin/ # buildkit
RUN /bin/sh -c curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash # buildkit
RUN /bin/sh -c curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 && chmod +x /usr/local/bin/argocd # buildkit
RUN /bin/sh -c curl -sS https://webi.sh/k9s | sh # buildkit
USER coder
Details
Container
2025-12-11 06:04:06 +01:00
23
OCI / Docker
linux/arm64
458 MiB
Versions (1) View all
latest 2025-12-11