File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ WORKDIR /home/node/ziti-browzer-bootstrapper
1414COPY --chown=node:node package.json ./
1515COPY --chown=node:node yarn.lock ./
1616
17+ ENV YARN_VERSION 4.0.2
18+
19+ RUN set -ex \
20+ && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" \
21+ && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ \
22+ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn \
23+ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
24+ && rm yarn-v$YARN_VERSION.tar.gz
25+
1726# Install the dependencies for the Ziti BrowZer Bootstrapper according to yarn.lock (ci) without
1827# devDepdendencies (--production), then uninstall npm which isn't needed.
1928RUN yarn install \
You can’t perform that action at this time.
0 commit comments