[damned-lies] chore: split packages to install in runtime by categories



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

    chore: split packages to install in runtime by categories

 containers/build_buildah_runtime.sh | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/containers/build_buildah_runtime.sh b/containers/build_buildah_runtime.sh
index f38189aa..25fa222f 100755
--- a/containers/build_buildah_runtime.sh
+++ b/containers/build_buildah_runtime.sh
@@ -14,11 +14,19 @@ declare -r CURRENT_VCS_REF_NAME
 
 
#######################################################################################################################
 
+echo ${FEDORA_BASE_IMAGE} ${DAMNED_LIES_IMAGE_NAME} ${CURRENT_VCS_REF_NAME}
+
 # Stop the shell script if at least one command fails
 set -e
 
-# TODO: remove all non necessary dependencies installed in the image. Why is a g++ compiler required?
-declare -r PACKAGES_TO_INSTALL="python python-devel python-setuptools python-pip python-lxml python 
python3-mysqlclient python3-pillow python3-pyicu mod_wsgi which httpd httpd-devel mod_ldap mod_session 
atlas-devel gcc-c++ gcc-gfortran libffi-devel libtool-ltdl enchant wget git gettext gnome-doc-utils intltool 
itstool libicu-devel mariadb-devel subversion yelp-tools automake autoconf make diffutils glibc-langpack-en"
+declare -r PYTHON_PACKAGES="python python-setuptools python-pip python-lxml python3-mysqlclient 
python3-pillow python3-pyicu"
+declare -r HTTPD_PACKAGES="httpd mod_ldap mod_session mod_wsgi"
+declare -r INTERNATIONALISATION_TOOLS="gettext intltool itstool libicu-devel enchant yelp-tools"
+declare -r VCS="git subversion"
+declare -r BUILD_UTILITIES="automake autoconf make glibc-langpack-en"
+declare -r SYSTEM_TOOLS="which wget diffutils mariadb-devel"
+declare -r UNKNOWN_PURPOSE_PACKAGES="atlas-devel gcc-c++ gcc-gfortran libffi-devel libtool-ltdl python-devel 
httpd-devel gnome-doc-utils"
+declare -r PACKAGES_TO_INSTALL="${PYTHON_PACKAGES} ${HTTPD_PACKAGES} ${INTERNATIONALISATION_TOOLS} ${VCS} 
${BUILD_UTILITIES} ${SYSTEM_TOOLS} ${UNKNOWN_PURPOSE_PACKAGES}"
 
 container=$(buildah from fedora:${FEDORA_BASE_IMAGE})
 


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