add licence label to docker images

This commit is contained in:
scito
2022-12-31 11:23:44 +01:00
parent 3f3903cc81
commit 5aa1a35b8f
2 changed files with 3 additions and 1 deletions

View File

@@ -20,3 +20,4 @@ WORKDIR /files
ENTRYPOINT ["python", "/extract/src/extract_otp_secrets.py"]
LABEL org.opencontainers.image.source https://github.com/scito/extract_otp_secrets
LABEL org.opencontainers.image.license GPL-3.0+

View File

@@ -11,7 +11,7 @@ COPY . .
ARG RUN_TESTS=true
RUN apk add --no-cache nano zlib jpeg \
RUN apk add --no-cache zlib jpeg \
&& echo "Arch: $(apk --print-arch)" \
&& if [[ "$(apk --print-arch)" == "aarch64" ]]; then apk add --no-cache --virtual .build-deps gcc libc-dev python3-dev py3-setuptools zlib-dev jpeg-dev; fi \
&& pip install --no-cache-dir protobuf qrcode Pillow \
@@ -23,3 +23,4 @@ WORKDIR /files
ENTRYPOINT ["python", "/extract/src/extract_otp_secrets.py"]
LABEL org.opencontainers.image.source https://github.com/scito/extract_otp_secrets
LABEL org.opencontainers.image.license GPL-3.0+