Skip to content

Commit 42287f2

Browse files
committed
Add labels for ARGS that can change as part of build.
memorialize the pythonversion and pip_mod ARGS in addition to already memorialized source arg in the labels for the image.
1 parent aeab9f3 commit 42287f2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/Docker/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,16 @@ RUN apk --no-cache upgrade; \
195195
fi
196196

197197
ARG source
198+
ARG pythonversion
199+
ARG pip_mod
198200
LABEL "org.opencontainers.image.vendor"="Roundup Issue Tracker Team" \
199201
"org.opencontainers.image.title"="Roundup Issue Tracker" \
200-
"org.opencontainers.image.description"="Roundup Issue Tracker with multi-backend support installed via $source" \
202+
"org.opencontainers.image.description"="Roundup Issue Tracker with multi-backend support installed via $source with python version $pythonversion" \
201203
"org.opencontainers.image.version"="2.2.0" \
202204
"org.opencontainers.image.authors"="[email protected]" \
203205
"org.opencontainers.image.licenses"="MIT AND ZPL-2.0 AND Python-2.0" \
204-
"org.opencontainers.image.documentation"="https://www.roundup-tracker.org/docs/installation.html"
206+
"org.opencontainers.image.documentation"="https://www.roundup-tracker.org/docs/installation.html" \
207+
"pip-modules"="$pip_mod"
205208

206209

207210
ARG pythonversion

0 commit comments

Comments
 (0)