summaryrefslogtreecommitdiffstats
path: root/docker/scripts/lib_dnf.sh
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2020-12-04 16:23:01 -0500
committerDave Wallace <dwallacelf@gmail.com>2020-12-15 16:53:50 -0500
commit2be6e2e770f6f9836d12ff10ab5b3bd32e7d6892 (patch)
tree2968c6bf8c2bd3184a6fa7b35512fac573cc6073 /docker/scripts/lib_dnf.sh
parent883c9a1b6c314d7f6729ff746cb4cacd06a16184 (diff)
Use 'lftools deploy archives' for log upload
- This is a pre-requisite for using amazon S3 for log storage. - Requires docker images built by updated docker scripts to include packages required by 'lftools' or other project specific docker images to be upgraded with same packages. This change only updates jobs which are using fdiotools docker images. - Add FD.io specific global macros to avoid inflating docker images with packages required by unneeded global-jjb scripts. - Sort VPP job parameters alphabetically - Dump installed python3 packages in setup_executor_env.sh Change-Id: Ifddd8f2b70b10acf834ffc837b27ef5453213a86 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'docker/scripts/lib_dnf.sh')
-rw-r--r--docker/scripts/lib_dnf.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/docker/scripts/lib_dnf.sh b/docker/scripts/lib_dnf.sh
index 41915e154..639e7f073 100644
--- a/docker/scripts/lib_dnf.sh
+++ b/docker/scripts/lib_dnf.sh
@@ -77,6 +77,9 @@ COPY . .
# Install baseline packages (minimum build & utils).
#
# ci-management global-jjb requirements:
+# for lftools:
+# libxml2-devel
+# xmlstarlet
# for lf-env.sh:
# facter
# from global-jjb/packer/provision/baseline.sh:
@@ -101,13 +104,16 @@ COPY . .
# lapack-devel for python numpy/scipy (CSIT/aarch64)
# openblas-devel for python numpy/scipy (CSIT/aarch64)
#
-RUN dnf update -y \\
+RUN export LC_ALL=C.UTF8 \\
+ && dnf update -y \\
&& dnf install -y \\
dnf-plugins-core \\
epel-release \\
- && dnf config-manager --set-enabled PowerTools --set-enabled epel \\
+ && dnf config-manager --set-enabled \$(dnf repolist all 2> /dev/null | grep -i powertools | cut -d' ' -f1) --set-enabled epel \\
+ && dnf repolist all \\
&& dnf clean all
-RUN dnf update -y \\
+RUN export LC_ALL=C.UTF8 \\
+ && dnf update -y \\
&& dnf install -y \\
dnf-utils \\
doxygen \\
@@ -124,6 +130,7 @@ RUN dnf update -y \\
lapack-devel \\
libffi-devel \\
libpcap-devel \\
+ libxml2-devel \\
make \\
mawk \\
mock \\
@@ -140,6 +147,7 @@ RUN dnf update -y \\
unzip \\
vim \\
wget \\
+ xmlstarlet \\
xz \\
&& dnf clean all