Added version as environment variable

This commit is contained in:
Benjamin Harder
2024-02-18 23:56:56 +01:00
parent 2b4b4ac385
commit 3a6c14a24e
5 changed files with 12 additions and 17 deletions

View File

@@ -3,6 +3,14 @@
# sudo docker run --rm -it --entrypoint sh ghcr.io/manimatter/decluttarr:dev
FROM python:3.10.13-slim
# Define a build-time argument for IMAGE_TAG
ARG IMAGE_TAG
# Set an environment variable using the build-time argument
ENV IMAGE_TAG_ENV=$IMAGE_TAG
LABEL org.opencontainers.image.source="https://github.com/ManiMatter/decluttarr"
ENV IS_IN_DOCKER 1