forked from projectcalico/calico
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request projectcalico#8195 from mgleung/build-labels
Add build labels for the node image
- Loading branch information
Showing
6 changed files
with
33 additions
and
5 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
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
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ FROM arm32v7/alpine:3.18 as base | |
MAINTAINER Marc Crébassa <[email protected]> | ||
|
||
ARG ARCH=armv7 | ||
ARG GIT_VERSION | ||
|
||
# Enable non-native builds of this image on an amd64 hosts. | ||
# This must be the first RUN command in this file! | ||
|
@@ -50,5 +51,15 @@ RUN rm /usr/bin/qemu-arm-static | |
|
||
CMD ["start_runit"] | ||
|
||
# Required labels for certification | ||
LABEL name="Calico node" \ | ||
vendor="Project Calico" \ | ||
version=$GIT_VERSION \ | ||
release="1" \ | ||
summary="Calico node handles networking and policy for Calico" \ | ||
description="Calico node handles networking and policy for Calico" \ | ||
maintainer="[email protected]" | ||
|
||
|
||
# Tell sv where to find the services. | ||
ENV SVDIR=/etc/service/enabled |
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 |
---|---|---|
|
@@ -24,6 +24,7 @@ FROM ppc64le/alpine:3.18 | |
MAINTAINER David Wilder <[email protected]> | ||
|
||
ARG ARCH=ppc64le | ||
ARG GIT_VERSION | ||
|
||
# Set the minimum required Docker API version. | ||
ENV DOCKER_API_VERSION 1.21 | ||
|
@@ -58,5 +59,14 @@ RUN rm /usr/bin/qemu-${ARCH}-static | |
|
||
CMD ["start_runit"] | ||
|
||
# Required labels for certification | ||
LABEL name="Calico node" \ | ||
vendor="Project Calico" \ | ||
version=$GIT_VERSION \ | ||
release="1" \ | ||
summary="Calico node handles networking and policy for Calico" \ | ||
description="Calico node handles networking and policy for Calico" \ | ||
maintainer="[email protected]" | ||
|
||
# Tell sv where to find the services. | ||
ENV SVDIR=/etc/service/enabled |
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
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