python (sha256:3dc8cfdb75feffac33804ed9ea1cb662535a72c2437a3ca7a49dc62680fa200e)

Published 2025-12-04 22:37:53 +00:00 by InactiveImmortal

Installation

docker pull code.inactiveimmortal.com/inactiveimmortal/python@sha256:3dc8cfdb75feffac33804ed9ea1cb662535a72c2437a3ca7a49dc62680fa200e
sha256:3dc8cfdb75feffac33804ed9ea1cb662535a72c2437a3ca7a49dc62680fa200e

Image layers

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"]
ENV DEBIAN_FRONTEND=noninteractive
ENV NVM_DIR=/usr/local/nvm
ENV PIP_BREAK_SYSTEM_PACKAGES=1
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git gnupg software-properties-common build-essential && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c add-apt-repository ppa:deadsnakes/ppa -y && apt-get update # buildkit
RUN /bin/sh -c apt-get install -y python3.10 python3.10-venv python3.10-distutils && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y python3.11 python3.11-venv python3.11-distutils && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y python3.13 python3.13-venv && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y python3.12-venv && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c update-alternatives --install /usr/bin/python python /usr/bin/python3.13 100 # buildkit
RUN /bin/sh -c curl -sS https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.10 get-pip.py && python3.11 get-pip.py && python3.12 get-pip.py && python3.13 get-pip.py && rm get-pip.py # buildkit
RUN /bin/sh -c python3.10 -m pip install --upgrade pip setuptools wheel && python3.11 -m pip install --upgrade pip setuptools wheel && python3.12 -m pip install --upgrade pip setuptools wheel && python3.13 -m pip install --upgrade pip setuptools wheel # buildkit
RUN /bin/sh -c mkdir -p $NVM_DIR && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash && . $NVM_DIR/nvm.sh && nvm install 25 && nvm alias default 25 && nvm use default && ln -s $NVM_DIR/versions/node/v25* $NVM_DIR/versions/node/v25-current # buildkit
ENV PATH=/usr/local/nvm/versions/node/v25-current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c . $NVM_DIR/nvm.sh && python --version && python3.10 --version && python3.11 --version && python3.12 --version && python3.13 --version && node --version && npm --version && nvm --version # buildkit
LABEL description=General CI – Ubuntu 24.04 + nvm + Python 3.10-3.13
LABEL maintainer=inactiveimmortal

Labels

Key Value
description General CI – Ubuntu 24.04 + nvm + Python 3.10-3.13
maintainer inactiveimmortal
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2025-12-04 22:37:53 +00:00
0
OCI / Docker
linux/amd64
371 MiB
Versions (1) View all
ubuntu-latest 2025-12-04