coder-image (latest)

Published 2024-12-21 02:17:46 +00:00 by eric

Installation

docker pull git.ericxliu.me/eric/coder-image:latest
sha256:8091ba0d4ef56f14add55275c1f4bb4ae2ddc83895f3ddb96095b6f180e990f8

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 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
RUN /bin/bash -c locale-gen en_US.UTF-8 # buildkit
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=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 apt-get update && apt-get install --yes --no-install-recommends --no-install-suggests git-lfs texlive-full locales curl zsh stow tmux neovim htop nodejs npm ffmpeg pipx && rm -rf /var/lib/apt/lists/* && locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 # buildkit
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
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-12-21 02:17:46 +00:00
1
OCI / Docker
linux/amd64
2.6 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