Skip to content

Commit 112b0b6

Browse files
authored
NO-JIRA: chore(Dockerfiles): sync odh-io changes to Dockerfile.konflux files in rhds (#1657)
* opendatahub-io#2612
1 parent dc83de0 commit 112b0b6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,17 @@ USER 0
137137
WORKDIR /opt/app-root/bin
138138

139139
# Install useful OS packages
140-
RUN dnf install -y jq git-lfs libsndfile && dnf clean all && rm -rf /var/cache/dnf
140+
RUN /bin/bash <<'EOF'
141+
set -Eeuxo pipefail
142+
PACKAGES=(
143+
jq git-lfs libsndfile
144+
# provides envsubst which is required by run-nginx.sh
145+
gettext
146+
)
147+
dnf install -y "${PACKAGES[@]}"
148+
dnf clean all
149+
rm -rf /var/cache/dnf
150+
EOF
141151

142152
# wait for rpm-base stage (rpm builds for ppc64le and s390x)
143153
COPY --from=rpm-base /tmp/control /dev/null

0 commit comments

Comments
 (0)