Skip to content

Commit 08a8421

Browse files
tests/integration: set root to run build and default user for runtime
Signed-off-by: Michael Valdron <[email protected]>
1 parent c16e7b6 commit 08a8421

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN mkdir -p /licenses
2222
RUN curl -sL https://raw.githubusercontent.com/${LICENSE_REPO}/refs/heads/${LICENSE_REF}/LICENSE -o /licenses/LICENSE
2323

2424
FROM registry.access.redhat.com/ubi8/go-toolset:1.21.13-1.1727869850
25-
25+
USER root
2626
WORKDIR /registry-test
2727

2828
COPY . .
@@ -37,4 +37,5 @@ RUN /registry-test/build.sh
3737
RUN mkdir -p /licenses
3838
COPY --from=license /licenses/LICENSE /licenses/LICENSE
3939

40+
USER 1001
4041
CMD /registry-test/devfile-registry-integration

0 commit comments

Comments
 (0)