#!/bin/sh set -ef cd "$(dirname "$0")/.." PYTHONTAG="${1:-3.11.9-slim-bookworm}" exec buildah bud --isolation chroot --network host --format docker \ -f ./Dockerfile.base \ -t "local-python:${PYTHONTAG}" \ --build-arg "PYTHONTAG=${PYTHONTAG}" \ --pull=missing --no-cache --omit-history \ --squash \ --unsetenv GPG_KEY \ --unsetenv PYTHON_PIP_VERSION \ --unsetenv PYTHON_SETUPTOOLS_VERSION \ --unsetenv PYTHON_GET_PIP_SHA256 \ --unsetenv PYTHON_GET_PIP_URL \