-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: #53 Adding org.opencontainers label to images
Signed-off-by: Laurent Broudoux <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
FROM registry.access.redhat.com/ubi9/nodejs-18-minimal:1-129.1726695172 | ||
|
||
MAINTAINER Laurent Broudoux <[email protected]> | ||
# Some version information | ||
LABEL maintainer="Laurent Broudoux <[email protected]>" \ | ||
org.opencontainers.image.authors="Laurent Broudoux <[email protected]>" \ | ||
org.opencontainers.image.title="Microcks Hub" \ | ||
org.opencontainers.image.description="Microcks is Open Source cloud-native native tool for API Mocking and Testing" \ | ||
org.opencontainers.image.licenses="Apache-2.0" \ | ||
org.opencontainers.image.documentation="https://github.com/microcks/hub.microcks.io" \ | ||
io.artifacthub.package.readme-url="https://raw.githubusercontent.com/microcks/hub.microcks.io/master/README.md" | ||
|
||
ARG MOCKS_REPO=https://github.com/microcks/community-mocks | ||
ARG MOCKS_BRANCH=master | ||
|
@@ -40,7 +47,8 @@ RUN cd ${APP_ROOT}/server \ | |
### Setup user for build execution and application runtime | ||
ENV HOME=${APP_ROOT} | ||
RUN chmod -R u+x ${APP_ROOT}/server/bin && \ | ||
chgrp -R 0 ${APP_ROOT} && \ | ||
chgrp -R 0 ${APP_ROOT} && \:q | ||
|
||
chmod -R g=u ${APP_ROOT} /etc/passwd | ||
|
||
### Containers should NOT run as root as a good practice | ||
|