Skip to content

Commit 1b2f705

Browse files
committed
Use PYTHON_VERSION build-arg after FROM
1 parent 84e92de commit 1b2f705

File tree

3 files changed

+2
-21
lines changed

3 files changed

+2
-21
lines changed

Containerfile.pkg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
ARG FREEBSD_RELEASE
2-
ARG PYTHON_VERSION
32

43
FROM ghcr.io/appjail-makejails/base:${FREEBSD_RELEASE}
54

5+
ARG PYTHON_VERSION
6+
67
LABEL org.opencontainers.image.title="Python" \
78
org.opencontainers.image.description="Python is an interpreted, interactive, object-oriented, open-source programming language" \
89
org.opencontainers.image.source="https://github.com/AppJail-makejails/python" \

update/Containerfile.pkg.template

Lines changed: 0 additions & 16 deletions
This file was deleted.

update/update.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,3 @@ mkdir -p -- "${BASEDIR}/../.github/workflows"
2727
cat -- "${BASEDIR}/build.yaml.template" |\
2828
sed -E \
2929
-e "s/%%IMAGE_NAME%%/${IMAGE_NAME}/g" > "${BASEDIR}/../.github/workflows/build.yaml"
30-
31-
cat -- "${BASEDIR}/Containerfile.pkg.template" |\
32-
sed -E \
33-
-e "s/%%PYVER%%/${PYVER}/g" > "${BASEDIR}/../Containerfile.pkg"

0 commit comments

Comments
 (0)