Skip to content

Commit 84d14fd

Browse files
committed
chore(build): simplify frontend build in Dockerfile.art
Remove Cachito gomod dependencies handling and streamline the build process to use direct make commands for frontend installation and building.
1 parent d103c0a commit 84d14fd

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)