Harry Esses HarryEsses
  • Joined on 2026-01-08

python-alpine (3.12)

Published 2026-03-29 16:33:19 +00:00 by HarryEsses

Installation

docker pull git.harryesses.com/harryesses/python-alpine:3.12
sha256:27ddd79e19fd3d8e9cee61677d9efc943bd0068ca836ab00fa9b1ca1e829c21d

Image Layers

ADD alpine-minirootfs-3.23.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG PYTHON_VERSION=3.12.0
RUN |1 PYTHON_VERSION=3.12.0 /bin/sh -c apk add wget gcc make zlib-dev libffi-dev openssl-dev musl-dev # buildkit
RUN |1 PYTHON_VERSION=3.12.0 /bin/sh -c cd /opt && wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz && tar xzf Python-${PYTHON_VERSION}.tgz # buildkit
RUN |1 PYTHON_VERSION=3.12.0 /bin/sh -c cd /opt/Python-${PYTHON_VERSION} && ./configure --prefix=/usr --enable-optimizations --with-ensurepip=install && make install && rm /opt/Python-${PYTHON_VERSION}.tgz /opt/Python-${PYTHON_VERSION} -rf # buildkit
RUN |1 PYTHON_VERSION=3.12.0 /bin/sh -c curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/bin/code-server # rest of the image, python3 and pip3 commands will be available # buildkit
Details
Container
2026-03-29 16:33:19 +00:00
1
OCI / Docker
linux/amd64
232 MiB
Versions (1) View all
3.12 2026-03-29