diff --git a/makeDockerfile.ts b/makeDockerfile.ts index 7843d988..9ebf86e0 100755 --- a/makeDockerfile.ts +++ b/makeDockerfile.ts @@ -96,6 +96,8 @@ COPY --link --chmod=755 ./proposals/${proposalIdentifier}:${proposalName} /usr/s # install using global cache RUN --mount=type=cache,target=/root/.yarn \ cd /usr/src/upgrade-test-scripts/lib/ \ + && corepack enable \ + && yarn --version \ && yarn install \ && cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \ && test -n "yarn.lock" && yarn install --frozen-lockfile --production @@ -126,6 +128,8 @@ COPY --link ./upgrade-test-scripts/lib /usr/src/upgrade-test-scripts/lib # install using global cache RUN --mount=type=cache,target=/root/.yarn \ cd /usr/src/upgrade-test-scripts/lib/ \ + && corepack enable \ + && yarn --version \ && yarn install \ && cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \ && test -n "yarn.lock" && yarn install --frozen-lockfile --production @@ -152,6 +156,8 @@ FROM use-${proposalName} as test-${proposalName} # install using global cache RUN --mount=type=cache,target=/root/.yarn \ cd /usr/src/upgrade-test-scripts/lib/ \ + && corepack enable \ + && yarn --version \ && yarn install \ && cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \ && test -n "yarn.lock" && yarn install --frozen-lockfile --production