k-project/code-server (e3498c9d302d4137a076e1b6b4a675fefbcf9a78)

Published 2026-05-19 09:30:16 +00:00 by gdn

Installation

docker pull forge.dinoia.eu/gdn/k-project/code-server:e3498c9d302d4137a076e1b6b4a675fefbcf9a78
sha256:681acbca118a5271f37ea8929763502c8beea732f2825061ea4978755a5f2798

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1776729600'
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" "."]
RUN /bin/sh -c curl -fsSL https://get.docker.com -o get-docker.sh # buildkit
RUN /bin/sh -c sh get-docker.sh # buildkit
RUN /bin/sh -c sudo usermod -aG docker coder # buildkit
RUN /bin/sh -c sudo apt update && sudo apt install -y --no-install-recommends python3 python3-pip python-is-python3 python3-venv make zip unzip pipx npm git xz-utils libglu1-mesa clang cmake ninja-build pkg-config libxi6 libxtst6 libsqlite3-dev libreadline-dev myrepos zlib1g zlib1g-dev lzma liblzma-dev libbz2-dev jq libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libdbus-1-3 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 && sudo apt upgrade -y # buildkit
USER root
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ripgrep ffmpeg && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c curl -LsSf https://astral.sh/uv/install.sh | env INSTALLER_NO_MODIFY_PATH=1 HOME=/root sh && ln -sf /root/.local/bin/uv /usr/local/bin/uv && ln -sf /root/.local/bin/uvx /usr/local/bin/uvx # buildkit
ENV UV_PYTHON_INSTALL_DIR=/opt/uv-python
RUN /bin/sh -c git clone --depth 1 https://github.com/NousResearch/hermes-agent /opt/hermes-agent && cd /opt/hermes-agent && uv venv --python 3.11 .venv && uv pip install --no-cache-dir -e ".[all,messaging]" && ln -sf /opt/hermes-agent/.venv/bin/hermes /usr/local/bin/hermes && chmod -R a+rX /opt/uv-python /opt/hermes-agent && find /opt/uv-python /opt/hermes-agent/.venv/bin -type f -exec chmod a+x {} + # buildkit
USER coder
Details
Container
2026-05-19 09:30:16 +00:00
0
OCI / Docker
linux/amd64
1 GiB
Versions (13) View all