initial commit

This commit is contained in:
2024-06-23 11:54:59 +03:00
commit c9200b8d39
20 changed files with 736 additions and 0 deletions

16
ci/build-image-base.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/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 \

10
ci/build-image-interim.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/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.interim \
-t docker.io/rockdrilla/postgresql:16.3-base \
--build-arg "PYTHONTAG=${PYTHONTAG}" \
--pull=missing --no-cache --omit-history \

8
ci/build-image.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -ef
cd "$(dirname "$0")/.."
exec buildah bud --isolation chroot --network host --format docker \
-f ./Dockerfile \
-t docker.io/rockdrilla/postgresql:16.3 \
--pull=missing --no-cache --omit-history \