Skip to content

Commit 2c099c2

Browse files
committed
Add yarn install
# Conflicts: # .konflux/dockerfiles/console-plugin.Dockerfile
1 parent 4eebca2 commit 2c099c2

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.konflux/dockerfiles/console-plugin.Dockerfile

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,11 @@ FROM $BUILDER AS builder-ui
55

66
WORKDIR /go/src/github.com/openshift-pipelines/console-plugin
77
COPY . .
8-
RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; git apply ${f}; done
9-
RUN npm install -g corepack && \
10-
if [ -f /cachi2/cachi2.env ]; then \
11-
source /cachi2/cachi2.env && \
12-
corepack enable && \
13-
corepack prepare [email protected] --activate && \
14-
yarn install && \
15-
yarn build; \
16-
else \
17-
corepack enable && \
18-
corepack prepare [email protected] --activate && \
19-
yarn install --immutable && \
20-
yarn build; \
21-
fi
8+
9+
# Install dependencies & build
10+
RUN yarn install --immutable && \
11+
yarn build
12+
2213

2314
FROM $RUNTIME
2415
ARG VERSION=console-plugin-main

0 commit comments

Comments
 (0)