Skip to content

Commit 4a288ee

Browse files
authored
Groom Konflux bundle Dockerfile minimally (#183)
Signed-off-by: Sergio Arroutbi <[email protected]>
1 parent 112e82e commit 4a288ee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

bundle.konflux.Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.22 as builder
2-
#
3-
# TODO: Set image to correct version
4-
# ARG IMG=registry.redhat.io/nbde-tang-server/tang-rhel9-operator@sha256:562e5f1677dbf5cd9feb00a7270e78c57b28f5177a7bf4bd2d39b2a5cd451da8
2+
53
ARG IMG=quay.io/redhat-user-workloads/konflux-sec-eng-spec-tenant/nbde-tang-server-multiarch:9ed11bd3865e986ff30eebeabd38934b07e50e53
64
ARG ORIGINAL_IMG=quay.io/sec-eng-special/nbde-tang-server:v1.1.0
75
WORKDIR /code
86
COPY ./ ./
9-
#
7+
108
RUN echo "SNAPSHOT=${SNAPSHOT}"
119
RUN bash -c printenv
10+
1211
# Replace the bundle image in the repository with the one specified by the IMG build argument.
1312
RUN chmod -R g+rwX ./ && find bundle/ && find bundle -type f -exec sed -i \
1413
"s|${ORIGINAL_IMG}|${IMG})|g" {} \+; grep -rq "${ORIGINAL_IMG}" bundle/ && \

0 commit comments

Comments
 (0)