I've read the docs now, define passed variable with the ARG instruction

This commit is contained in:
flow.gunso
2020-01-14 22:18:47 +01:00
parent f46ea7746f
commit dc984b0ea1
2 changed files with 6 additions and 5 deletions

View File

@@ -19,15 +19,16 @@ FROM debian:buster-slim
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
ARG PROJECT_URL
LABEL maintainer="flow.gunso@gmail.com" \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="Seafile Docker client" \
org.label-schema.description="Sync Seafile librairies within Docker containers." \
org.label-schema.url=$CI_PROJECT_URL \
org.label-schema.url=$PROJECT_URL \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url=$CI_PROJECT_URL \
org.label-schema.vcs-url=$PROJECT_URL \
org.label-schema.vendor="flow.gunso@gmail.com" \
org.label-schema.version=$CI_COMMIT_TAG \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0"
# Install seaf-cli and oathtool, prepare the user.