Block a user
coder-images (python3)
Installation
docker pull gitea.bobert.me/anthorob/coder-images:python3sha256:88804b92cdd0e9c4d9847321442380aed3f500970b1a497d0a8786127e983e78
Images
| Digest | OS / Arch | Size |
|---|---|---|
| b438941ca5 | linux/amd64 | 394 MiB |
Image Layers ( linux/amd64)
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:ddf1aa62235de6657123492b19d27d937c25668011b5ebf923a3f019200f8540 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 |
| USER root |
| RUN /bin/bash -c apt-get update && apt-get install -y --no-install-recommends curl unzip git nano ca-certificates software-properties-common lsb-release gnupg && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| USER coder |
| WORKDIR /home/coder |
| USER root |
| RUN /bin/bash -c apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-venv python3-dev build-essential python3-setuptools python3-wheel && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/bash -c update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 # buildkit |
| USER coder |
| WORKDIR /home/coder |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 24.04 |