Skip to content

Commit 8e63299

Browse files
authored
remove unused repo from UBI base image (#7311)
1 parent 5a4494a commit 8e63299

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build/dependencies/Dockerfile.ubi

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ FROM nginx:1.27.4@sha256:91734281c0ebfc6f1aea979cffeed5079cfe786228a71cc6f1f46a2
44
FROM redhat/ubi9:9.5@sha256:be214e191bbe3f4d0f16a5a4f5642e1f32fccd6fae7d2b6c6acb066ba51fb507 AS rpm-build
55
ARG NGINX
66
ARG NJS
7-
ENV NGINX_VERSION ${NGINX}
8-
ENV NJS_VERSION ${NJS}
9-
10-
7+
ENV NGINX_VERSION=${NGINX}
8+
ENV NJS_VERSION=${NJS}
119
RUN 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 \

0 commit comments

Comments
 (0)