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
4
4
FROM redhat/ubi9:9.5@sha256:be214e191bbe3f4d0f16a5a4f5642e1f32fccd6fae7d2b6c6acb066ba51fb507 AS rpm-build
5
5
ARG NGINX
6
6
ARG NJS
7
- ENV NGINX_VERSION ${NGINX}
8
- ENV NJS_VERSION ${NJS}
9
-
10
-
7
+ ENV NGINX_VERSION=${NGINX}
8
+ ENV NJS_VERSION=${NJS}
11
9
RUN mkdir -p /nginx/; \
12
10
# only build for ppc64le but make multiarch image for mounting
13
11
[ $(uname -p) = x86_64 ] && exit 0; \
@@ -26,7 +24,6 @@ RUN mkdir -p /nginx/; \
26
24
nginx-module-image-filter-${NGINX_VERSION} \
27
25
nginx-module-njs-${NGINX_VERSION}+${NJS_VERSION} \
28
26
" \
29
- && dnf config-manager --set-enabled ubi-9-codeready-builder \
30
27
&& dnf download --source ${nginxPackages} \
31
28
&& dnf builddep -y --srpm nginx*.rpm \
32
29
&& rpmbuild --rebuild --nodebuginfo nginx*.rpm \
You can’t perform that action at this time.
0 commit comments