From 236c6b28921752b5e33c29c8a80969b78b8d7396 Mon Sep 17 00:00:00 2001 From: RTann Date: Wed, 11 Sep 2024 10:22:12 -0700 Subject: [PATCH 1/2] install parallel --- images/stackrox-test.Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/images/stackrox-test.Dockerfile b/images/stackrox-test.Dockerfile index ea18effd..42253420 100644 --- a/images/stackrox-test.Dockerfile +++ b/images/stackrox-test.Dockerfile @@ -26,6 +26,10 @@ ENV BASH_ENV /etc/initial-bash.env # Install Postgres repo RUN dnf --disablerepo="*" install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm +# Install Extra Packages repo +# This is required to get the parallel package used by bats. +RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm + # Install all the packages RUN dnf update -y \ && dnf install -y \ @@ -39,6 +43,7 @@ RUN dnf update -y \ lsof \ lz4 \ openssl \ + parallel \ python3-devel \ unzip \ xmlstarlet \ From 8deafa1300ee04706d499f3dde0e07f3a06bd9cc Mon Sep 17 00:00:00 2001 From: RTann Date: Wed, 11 Sep 2024 11:10:22 -0700 Subject: [PATCH 2/2] update stackrox-ui-test too --- images/stackrox-ui-test.Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/stackrox-ui-test.Dockerfile b/images/stackrox-ui-test.Dockerfile index 7cd4b34f..38c19e04 100644 --- a/images/stackrox-ui-test.Dockerfile +++ b/images/stackrox-ui-test.Dockerfile @@ -28,6 +28,7 @@ RUN dnf update -y \ && dnf install -y wget \ && wget --quiet -O - https://rpm.nodesource.com/setup_lts.x | bash - \ && wget --quiet -O - https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo \ + && dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \ && dnf --disablerepo=* -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm \ && dnf -qy module disable postgresql @@ -44,6 +45,7 @@ RUN dnf update -y \ zstd \ lz4-devel \ nodejs \ + parallel \ procps-ng \ yarn \ zlib-devel \