[damned-lies] feat: update production env packages



commit fb4ed52134261a46b43340da3c43833cfcffcbb4
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date:   Mon May 9 15:06:24 2022 +0200

    feat: update production env packages

 containers/production/build_buildah_deployment.sh | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/containers/production/build_buildah_deployment.sh 
b/containers/production/build_buildah_deployment.sh
index 1ad4760e..d1615d59 100755
--- a/containers/production/build_buildah_deployment.sh
+++ b/containers/production/build_buildah_deployment.sh
@@ -49,6 +49,9 @@ 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}"
 
+# Update system in case packages from runtime are out of date
+buildah run "${container}" -- dnf -y --disablerepo=fedora-modular --disablerepo=updates-modular 
--disablerepo=fedora-cisco-openh264 update
+
 # Create PROCESS_USER
 buildah run "${container}" -- groupadd "${PROCESS_USER}" -g ${PROCESS_USER_UID_GID}
 buildah run "${container}" -- useradd "${PROCESS_USER}" -g ${PROCESS_USER_UID_GID} -u 
${PROCESS_USER_UID_GID} -G apache -r -l -m -K SYS_UID_MAX=2000000000


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]