[damned-lies] chore: update image labels
- From: Guillaume Bernard <gbernard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] chore: update image labels
- Date: Tue, 10 May 2022 08:30:03 +0000 (UTC)
commit beb2d4c0ab311d388e5bd73a0e7cf59eb5449450
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date: Mon May 9 15:06:24 2022 +0200
chore: update image labels
containers/build_buildah_runtime.sh | 6 ++++++
containers/production/build_buildah_deployment.sh | 1 +
2 files changed, 7 insertions(+)
---
diff --git a/containers/build_buildah_runtime.sh b/containers/build_buildah_runtime.sh
index b0fb4f58..5e7ab086 100755
--- a/containers/build_buildah_runtime.sh
+++ b/containers/build_buildah_runtime.sh
@@ -28,6 +28,12 @@ declare -r PACKAGES_TO_INSTALL="${PYTHON_PACKAGES} ${HTTPD_PACKAGES} ${INTERNATI
container=$(buildah from fedora:${FEDORA_BASE_IMAGE})
+buildah config --author "Guillaume Bernard" "${container}"
+buildah config --label 'maintainer="Guillaume Bernard <associations guillaume-bernard fr>"' "${container}"
+buildah config --label "license=GPLv3" "${container}"
+buildah config --label "name=damned-lies-runtime" "${container}"
+buildah config --label "vendor=The GNOME Project contributors" "${container}"
+
# Install dependencies
buildah run "${container}" /bin/sh -c "dnf -y --disablerepo=fedora-modular --disablerepo=updates-modular
--disablerepo=fedora-cisco-openh264 update"
buildah run "${container}" /bin/sh -c "dnf -y --disablerepo=fedora-modular --disablerepo=updates-modular
--disablerepo=fedora-cisco-openh264 --setopt=tsflags=nodocs install ${PACKAGES_TO_INSTALL}"
diff --git a/containers/production/build_buildah_deployment.sh
b/containers/production/build_buildah_deployment.sh
index 3d0062b1..1ad4760e 100755
--- a/containers/production/build_buildah_deployment.sh
+++ b/containers/production/build_buildah_deployment.sh
@@ -47,6 +47,7 @@ container=$(buildah from "${RUNTIME_IMAGE_NAME}")
buildah config --author "Guillaume Bernard" "${container}"
buildah config --label 'maintainer="Guillaume Bernard <associations guillaume-bernard fr>"' "${container}"
+buildah config --label "name=damned-lies-${KIND_OF_DEPLOYMENT}" "${container}"
# Create PROCESS_USER
buildah run "${container}" -- groupadd "${PROCESS_USER}" -g ${PROCESS_USER_UID_GID}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]