coder-image (2024-10-10-64ea24)
Published 2024-10-10 06:25:36 +00:00 by eric
Installation
docker pull git.ericxliu.me/eric/coder-image:2024-10-10-64ea24
sha256:09a15d595ac5b1239820f04461214099c1545df9611a617cc76c032c7833a2c8
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=24.04 |
ADD file:6f881131af38dde06e3705e8376701ae22ce479e4824821a9580d4e0e0bcf0ac 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 locales && sudo rm -rf /var/lib/apt/lists/* && sudo locale-gen en_US.UTF-8 && sudo 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
2024-10-10 06:25:36 +00:00
Versions (7)
View all
Container
1
OCI / Docker
linux/amd64
2.4 GiB
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