fix(ci):deployments need pnpm in base image
This commit is contained in:
@@ -5,7 +5,7 @@ FROM node:${NODE_VERSION}-slim AS base
|
|||||||
# FIX: Bad workaround (https://github.com/nodejs/corepack/issues/612)
|
# FIX: Bad workaround (https://github.com/nodejs/corepack/issues/612)
|
||||||
ENV COREPACK_INTEGRITY_KEYS=0
|
ENV COREPACK_INTEGRITY_KEYS=0
|
||||||
|
|
||||||
RUN corepack enable && apt-get update && \
|
RUN corepack enable && rm -f /usr/local/bin/pnpm && npm install -g pnpm@10.6.2 && corepack disable && apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
openssl \
|
openssl \
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ FROM node:${NODE_VERSION}-slim AS base
|
|||||||
# FIX: Bad workaround (https://github.com/nodejs/corepack/issues/612)
|
# FIX: Bad workaround (https://github.com/nodejs/corepack/issues/612)
|
||||||
ENV COREPACK_INTEGRITY_KEYS=0
|
ENV COREPACK_INTEGRITY_KEYS=0
|
||||||
|
|
||||||
RUN corepack enable && apt-get update && \
|
RUN corepack enable && rm -f /usr/local/bin/pnpm && npm install -g pnpm@10.6.2 && corepack disable && apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
openssl \
|
openssl \
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ ENV DATABASE_URL=$DATABASE_URL
|
|||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
ENV PATH="$PNPM_HOME:$PATH"
|
ENV PATH="$PNPM_HOME:$PATH"
|
||||||
|
|
||||||
RUN corepack enable && \
|
RUN corepack enable && rm -f /usr/local/bin/pnpm && npm install -g pnpm@10.6.2 && corepack disable && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
|||||||
Reference in New Issue
Block a user