-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to org.opencontainers.* labels (#431)
Closes #427 Signed-off-by: mueller-ma <[email protected]>
- Loading branch information
1 parent
579b0ea
commit bf50d43
Showing
2 changed files
with
24 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,19 +23,18 @@ ENV \ | |
OPENHAB_USERDATA="/openhab/userdata" \ | ||
USER_ID="9001" | ||
|
||
# Basic build-time metadata as defined at http://label-schema.org | ||
LABEL org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.docker.dockerfile="/Dockerfile" \ | ||
org.label-schema.license="EPL-2.0" \ | ||
org.label-schema.name="openHAB" \ | ||
org.label-schema.vendor="openHAB Foundation e.V." \ | ||
org.label-schema.version=$OPENHAB_VERSION \ | ||
org.label-schema.description="An open source, technology agnostic home automation platform" \ | ||
org.label-schema.url="https://www.openhab.com/" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.vcs-type="Git" \ | ||
org.label-schema.vcs-url="https://github.com/openhab/openhab-docker.git" \ | ||
maintainer="openHAB <[email protected]>" | ||
# Basic build-time metadata as defined at https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys | ||
LABEL org.opencontainers.image.created=$BUILD_DATE \ | ||
org.opencontainers.image.licenses="EPL-2.0" \ | ||
org.opencontainers.image.title="openHAB" \ | ||
org.opencontainers.image.vendor="openHAB Foundation e.V." \ | ||
org.opencontainers.image.version=$OPENHAB_VERSION \ | ||
org.opencontainers.image.description="An open source, technology agnostic home automation platform" \ | ||
org.opencontainers.image.url="https://www.openhab.org/" \ | ||
org.opencontainers.image.documentation="https://www.openhab.org/docs/installation/docker.html" \ | ||
org.opencontainers.image.revision=$VCS_REF \ | ||
org.opencontainers.image.source="https://github.com/openhab/openhab-docker.git" \ | ||
org.opencontainers.image.authors="openHAB <[email protected]>" | ||
|
||
# Install basepackages | ||
RUN apk update --no-cache && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,19 +23,18 @@ ENV \ | |
OPENHAB_USERDATA="/openhab/userdata" \ | ||
USER_ID="9001" | ||
|
||
# Basic build-time metadata as defined at http://label-schema.org | ||
LABEL org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.docker.dockerfile="/Dockerfile" \ | ||
org.label-schema.license="EPL-2.0" \ | ||
org.label-schema.name="openHAB" \ | ||
org.label-schema.vendor="openHAB Foundation e.V." \ | ||
org.label-schema.version=$OPENHAB_VERSION \ | ||
org.label-schema.description="An open source, technology agnostic home automation platform" \ | ||
org.label-schema.url="https://www.openhab.com/" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.vcs-type="Git" \ | ||
org.label-schema.vcs-url="https://github.com/openhab/openhab-docker.git" \ | ||
maintainer="openHAB <[email protected]>" | ||
# Basic build-time metadata as defined at https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys | ||
LABEL org.opencontainers.image.created=$BUILD_DATE \ | ||
org.opencontainers.image.licenses="EPL-2.0" \ | ||
org.opencontainers.image.title="openHAB" \ | ||
org.opencontainers.image.vendor="openHAB Foundation e.V." \ | ||
org.opencontainers.image.version=$OPENHAB_VERSION \ | ||
org.opencontainers.image.description="An open source, technology agnostic home automation platform" \ | ||
org.opencontainers.image.url="https://www.openhab.org/" \ | ||
org.opencontainers.image.documentation="https://www.openhab.org/docs/installation/docker.html" \ | ||
org.opencontainers.image.revision=$VCS_REF \ | ||
org.opencontainers.image.source="https://github.com/openhab/openhab-docker.git" \ | ||
org.opencontainers.image.authors="openHAB <[email protected]>" | ||
|
||
# Install basepackages | ||
RUN apt-get update && \ | ||
|