code-server (latest)

Published 2022-08-27 17:51:02 +01:00 by jackhadrill

Installation

docker pull git.jacknet.io/jackhadrill/code-server:latest
sha256:f283ed9b02937d59aeaac570ed4fab7f0c7393df9ecf6967c3d56c574a93a6be

Image Layers

ADD file:d0f758e50c654c225f6c7f03e8a579efc9106437051573bdbae5e63b1c4b2c1f in /
CMD ["bash"]
RUN /bin/sh -c apt-get update && apt-get install -y curl dumb-init zsh htop locales man nano git git-lfs procps openssh-client sudo vim.tiny lsb-release && 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.5/fixuid-0.5-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" "."]
/bin/sh -c sudo sh -c "apt-get update && apt-get install -y python3 python3-venv python3-pip && apt-get full-upgrade -y && apt-get clean"
LABEL org.opencontainers.image.created=2022-08-27T16:47:55Z
LABEL org.opencontainers.image.revision=77cc84652d68f85d771f3495e047ee5ee2143661
LABEL org.opencontainers.image.source=https://git.jacknet.io/jackhadrill/code-server.git
LABEL org.opencontainers.image.url=https://git.jacknet.io/jackhadrill/code-server

Labels

Key Value
org.opencontainers.image.created 2022-08-27T16:47:55Z
org.opencontainers.image.revision 77cc84652d68f85d771f3495e047ee5ee2143661
org.opencontainers.image.source https://git.jacknet.io/jackhadrill/code-server.git
org.opencontainers.image.url https://git.jacknet.io/jackhadrill/code-server
Details
Container
2022-08-27 17:51:02 +01:00
1
OCI / Docker
linux/amd64
386 MiB
Versions (1) View all
latest 2022-08-27