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

Workbench: Install Yarn with corepack.

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