uv/almalinux/cache (da1deda274d982da894a86e5406990b6cc076f70f015774025e5cc3665b43f94)

Published 2026-10-29 16:31:07 +00:00 by BjoernPetersen

Installation

docker pull code.bjoernpetersen.net/bjoernpetersen/uv/almalinux/cache:da1deda274d982da894a86e5406990b6cc076f70f015774025e5cc3665b43f94
sha256:c49027972eda27602d10f3f91e61ee8225c648c3959ad15e20ae47c0ed679c78

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.15.2 /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.15.2 /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

Labels

Key Value
io.buildah.version 1.43.1