Skip to content
Snippets Groups Projects
Commit ab956774 authored by nimrod's avatar nimrod
Browse files

Workbench: Install Yarn with corepack.

parent 9fc188b9
No related branches found
No related tags found
No related merge requests found
Pipeline #3924 passed
......@@ -242,6 +242,7 @@ RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \
pipx install chalice && \
pipx install curator-opensearch && \
rm -rf /tmp/* /var/tmp/* ~/.cache/*
ENV COREPACK_HOME=/usr/local/share/corepack
# hadolint ignore=DL3016
RUN npm install --global \
@bitwarden/cli \
......@@ -249,6 +250,7 @@ RUN npm install --global \
corepack \
&& \
chown -R root:root /usr/local/lib/node_modules/@bitwarden/cli/node_modules/ && \
corepack install --global yarn && \
rm -rf /tmp/* /var/tmp/* ~/.cache/*
RUN export GOPATH=/usr/local/lib/go && \
mkdir "$GOPATH" && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment