add licence label to docker images
This commit is contained in:
@@ -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+
|
||||
|
||||
@@ -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+
|
||||
|
||||
Reference in New Issue
Block a user