File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ FROM nginx:1.27.4@sha256:91734281c0ebfc6f1aea979cffeed5079cfe786228a71cc6f1f46a2
44FROM redhat/ubi9:9.5@sha256:be214e191bbe3f4d0f16a5a4f5642e1f32fccd6fae7d2b6c6acb066ba51fb507 AS rpm-build
55ARG NGINX
66ARG NJS
7- ENV NGINX_VERSION ${NGINX}
8- ENV NJS_VERSION ${NJS}
9-
10-
7+ ENV NGINX_VERSION=${NGINX}
8+ ENV NJS_VERSION=${NJS}
119RUN mkdir -p /nginx/; \
1210 # only build for ppc64le but make multiarch image for mounting
1311 [ $(uname -p) = x86_64 ] && exit 0; \
@@ -26,7 +24,6 @@ RUN mkdir -p /nginx/; \
2624 nginx-module-image-filter-${NGINX_VERSION} \
2725 nginx-module-njs-${NGINX_VERSION}+${NJS_VERSION} \
2826 " \
29- && dnf config-manager --set-enabled ubi-9-codeready-builder \
3027 && dnf download --source ${nginxPackages} \
3128 && dnf builddep -y --srpm nginx*.rpm \
3229 && rpmbuild --rebuild --nodebuginfo nginx*.rpm \
You can’t perform that action at this time.
0 commit comments