coder-image (2024-10-06-73e9de)

Published 2024-10-06 17:38:07 +00:00 by eric

Installation

docker pull git.ericxliu.me/eric/coder-image:2024-10-06-73e9de
sha256:c56381e91464f25651eaeb2bd17b733aa137e869b3e2a3a19db0e4dc38baea99

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:aaeb92d3288093ff43a69d19f9133475372ca003b6de902066a2d4641eec2456 in /
CMD ["/bin/bash"]
SHELL [/bin/bash -c]
ENV DEBIAN_FRONTEND=noninteractive
RUN /bin/bash -c apt-get update && apt-get upgrade --yes --no-install-recommends --no-install-suggests && apt-get install --yes --no-install-recommends --no-install-suggests ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
COPY docker-archive-keyring.gpg /usr/share/keyrings/docker-archive-keyring.gpg # buildkit
COPY docker.list /etc/apt/sources.list.d/docker.list # buildkit
RUN /bin/bash -c apt-get update && apt-get install --yes --no-install-recommends --no-install-suggests bash build-essential containerd.io curl docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin htop jq locales man pipx python3 python3-pip software-properties-common sudo systemd systemd-sysv unzip vim wget rsync && add-apt-repository ppa:git-core/ppa && apt-get install --yes git && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/bash -c systemctl enable docker # buildkit
RUN /bin/bash -c ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/bin/docker-compose # buildkit
ENV LANG=en_US.UTF-8
RUN /bin/bash -c userdel -r ubuntu && useradd coder --create-home --shell=/bin/bash --groups=docker --uid=1000 --user-group && echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd # buildkit
USER coder
RUN /bin/bash -c pipx ensurepath # adds user's bin directory to PATH # buildkit
SHELL [/bin/bash -c]
ENV DEBIAN_FRONTEND=noninteractive
USER root
RUN /bin/bash -c sudo apt-get update && sudo apt-get install --yes --no-install-recommends --no-install-suggests git-lfs texlive-full && sudo rm -rf /var/lib/apt/lists/* # buildkit
USER coder
RUN /bin/bash -c pipx ensurepath # buildkit
RUN /bin/bash -c [ -f ~/.ssh/id_ed25519 ] && chmod 400 ~/.ssh/id_ed25519 || true # buildkit
WORKDIR /home/coder
CMD ["/bin/bash"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2024-10-06 17:38:07 +00:00
1
OCI / Docker
linux/amd64
2.4 GiB
Versions (7) View all
2024-12-21-e463f8 2024-12-21
latest 2024-12-21
2024-10-10-11661e 2024-10-10
2024-10-10-64ea24 2024-10-10
2024-10-06-73e9de 2024-10-06