Commit ab956774 authored by nimrod's avatar nimrod
Browse files

Workbench: Install Yarn with corepack.

parent 9fc188b9
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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" && \