Skip to content

Commit 925053f

Browse files
Merge pull request #799 from lgarciaaco/chore/ocpbugs-77649-simplify-dockerfile-build
NO-JIRA: simplify dockerfile by removing cachito dependencies
2 parents d103c0a + 84d14fd commit 925053f

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

Dockerfile.art

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ USER 0
99

1010
# use dependencies provided by Cachito
1111
ENV HUSKY=0
12-
RUN test -d ${REMOTE_SOURCES_DIR}/cachito-gomod-with-deps || exit 1; \
13-
cp -f $REMOTE_SOURCES_DIR/cachito-gomod-with-deps/app/registry-ca.pem . \
14-
&& cp -f $REMOTE_SOURCES_DIR/cachito-gomod-with-deps/app/web/{.npmrc,package-lock.json} web/ \
15-
&& source ${REMOTE_SOURCES_DIR}/cachito-gomod-with-deps/cachito.env \
16-
&& make install-frontend-ci \
17-
&& make build-frontend
18-
12+
ENV CYPRESS_INSTALL_BINARY=0
13+
RUN make install-frontend-ci && make build-frontend
1914

2015
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.22 AS go-builder
2116

0 commit comments

Comments
 (0)