postgresql-citus-patroni-image/ci/build-image-base.sh

17 lines
479 B
Bash
Raw Normal View History

2024-06-23 11:54:59 +03:00
#!/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 \