Skip to content

Commit

Permalink
fixed: yarn plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Volkov committed Jan 29, 2022
1 parent c950841 commit dd4fb48
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 446 deletions.
21 changes: 19 additions & 2 deletions images/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,27 @@ FROM node:${nodejs_version}-slim AS yarn
ENV YARN_GLOBAL_FOLDER=/usr/local/yarn
WORKDIR /usr/local/src
COPY app .
RUN yarn \
VOLUME ["/usr/local/src"]
VOLUME ["/usr/local/yarn"]
RUN apt-get update --fix-missing \
&& apt-get upgrade --yes \
&& apt-get dist-upgrade --yes \
&& apt-get install --no-install-recommends --no-install-suggests --yes \
git \
ca-certificates \
build-essential \
&& yarn config set enableGlobalCache true \
&& yarn config set globalFolder $YARN_GLOBAL_FOLDER \
&& yarn config set nodeLinker node-modules \
&& yarn config set nmHoistingLimits workspaces \
&& yarn config set enableTelemetry false \
&& yarn config set preferAggregateCacheInfo true \
&& yarn plugin import workspace-tools \
&& yarn plugin import version \
&& yarn \
&& yarn rebuild

FROM summerwind/actions-runner-dind:v2.286.1-ubuntu-20.04 AS default
FROM summerwind/actions-runner-dind:v2.287.1-ubuntu-20.04 AS default
LABEL org.opencontainers.image.authors="BN Enginseers <[email protected]>" \
org.opencontainers.image.url="https://github.com/bn-digital/docker" \
org.opencontainers.image.source="https://github.com/bn-digital/docker" \
Expand Down
35 changes: 0 additions & 35 deletions images/build/app/.yarn/plugins/@yarnpkg/plugin-exec.cjs

This file was deleted.

363 changes: 0 additions & 363 deletions images/build/app/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions images/build/app/.yarn/plugins/@yarnpkg/plugin-typescript.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions images/build/app/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions images/build/app/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,4 @@ logFilters:
level: discard
- code: YN0013
level: discard
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-exec.cjs
spec: "@yarnpkg/plugin-exec"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
yarnPath: .yarn/releases/yarn-3.1.1.cjs

0 comments on commit dd4fb48

Please sign in to comment.