uv (c1126e8fdbc68db4b3af862b9e8fba2b08a9f63b38496d138b080cdc7c16db02)

Published 2026-09-10 14:51:09 +00:00 by BjoernPetersen

Installation

docker pull code.bjoernpetersen.net/bjoernpetersen/uv:c1126e8fdbc68db4b3af862b9e8fba2b08a9f63b38496d138b080cdc7c16db02
sha256:a87a6e5dcc71df01b4d1987885a495ac263f291e44f1f04d1294ba414ff30ff1

Image layers

ADD almalinux-10-default-amd64.tar.xz / # buildkit
CMD ["/bin/bash"]
/bin/sh -c dnf group install -y "Development Tools" && dnf install -y mpdecimal-devel ncurses-devel openssl-devel sqlite-devel libffi-devel libuuid-devel bzip2-devel libzstd-devel xz-devel zlib-ng-compat-devel
WORKDIR /root/build
ARG PYTHON_VERSION
|1 PYTHON_VERSION=3.14.7 /bin/sh -c ( curl -sfSL "https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz" | tar -xJf -) && mv Python-${PYTHON_VERSION} Python
WORKDIR /root/build/Python
ARG INSTALL_PREFIX PYTHON_VERSION
ENV LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"
|2 INSTALL_PREFIX=/opt/python PYTHON_VERSION=3.14.7 /bin/sh -c ./configure --prefix=${INSTALL_PREFIX} --enable-option-checking=fatal --enable-optimizations --with-lto --with-computed-gotos --disable-test-modules --enable-shared --without-doc-strings --without-remote-debug --with-ensurepip=no --without-static-libpython --without-readline
|2 INSTALL_PREFIX=/opt/python PYTHON_VERSION=3.14.7 /bin/sh -c make install && (find ${INSTALL_PREFIX}/lib/python*/ -type d -name __pycache__ | xargs rm -rf) && rm -rf ${INSTALL_PREFIX}/lib/python*/{idlelib,tkinter,turtledemo} && rm -f ${INSTALL_PREFIX}/lib/python*/turtle.py && rm -f ${INSTALL_PREFIX}/bin/idle*

Labels

Key Value
io.buildah.version 1.43.1
Details
Container
2026-09-10 14:51:09 +00:00
2
OCI / Docker
linux/amd64
496 MiB
Versions (635) View all