uv (7012c5bd2a56a790d151dc6e0e01801e24a202c9c68ae990cdea6814f50cfe99)

Published 2026-10-02 12:48:35 +00:00 by BjoernPetersen

Installation

docker pull code.bjoernpetersen.net/bjoernpetersen/uv:7012c5bd2a56a790d151dc6e0e01801e24a202c9c68ae990cdea6814f50cfe99
sha256:7db8d88252a3209f914f39f93fc4c865892c96972175366bea5f2ed6ae23b43d

Image layers

COPY / / # buildkit
ENV LANG=C.utf8
CMD ["/bin/bash"]
/bin/sh -c echo "install_weak_deps=False" >> /etc/dnf/dnf.conf && echo "tsflags=nodocs" >> /etc/dnf/dnf.conf
/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.8 /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.8 /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
ARG BUILD_THREADS INSTALL_PREFIX PYTHON_VERSION
|3 BUILD_THREADS=1 INSTALL_PREFIX=/opt/python PYTHON_VERSION=3.14.8 /bin/sh -c make -j${BUILD_THREADS} 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-10-02 12:48:35 +00:00
0
OCI / Docker
linux/arm64
466 MiB
Versions (635) View all