We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gettext
envsubst
run-nginx.sh
1 parent 9924a1f commit a615068Copy full SHA for a615068
codeserver/ubi9-python-3.12/Dockerfile.cpu
@@ -139,7 +139,17 @@ USER 0
139
WORKDIR /opt/app-root/bin
140
141
# Install useful OS packages
142
-RUN dnf install -y jq git-lfs libsndfile && dnf clean all && rm -rf /var/cache/dnf
+RUN /bin/bash <<'EOF'
143
+set -Eeuxo pipefail
144
+PACKAGES=(
145
+ jq git-lfs libsndfile
146
+ # provides envsubst which is required by run-nginx.sh
147
+ gettext
148
+)
149
+dnf install -y "${PACKAGES[@]}"
150
+dnf clean all
151
+rm -rf /var/cache/dnf
152
+EOF
153
154
# wait for rpm-base stage (rpm builds for ppc64le and s390x)
155
COPY --from=rpm-base /tmp/control /dev/null
0 commit comments