Skip to content

Commit f58ce05

Browse files
authored
ci: pin pnpm for release (#604)
1 parent c41254d commit f58ce05

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docker/release.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM ubuntu:noble
33
ENV ERLANG_VERSION="26.0.2"
44
ENV ELIXIR_VERSION="1.17.3-otp-26"
55
ENV NODE_VERSION="22"
6+
ENV PNPM_VERSION="11.0.8"
67
ENV EMSDK_VERSION="4.0.8"
78
ENV MIX_ENV=prod
89
ENV LC_ALL=C.UTF-8
@@ -28,7 +29,7 @@ RUN install -dm 755 /etc/apt/keyrings && \
2829
apt install -y mise
2930

3031
RUN mise use --global node@"${NODE_VERSION}" && mise install
31-
RUN mise use --global pnpm@11 && mise install
32+
RUN mise use --global pnpm@"${PNPM_VERSION}" && mise install
3233

3334
RUN mise use --global erlang@"${ERLANG_VERSION}" && mise install
3435
RUN mise use --global elixir@"${ELIXIR_VERSION}" && \
@@ -48,7 +49,7 @@ RUN git clone --depth 1 --branch "${GIT_REF}" "${GIT_REPO}" /build/popcorn && \
4849
ENV RUNTIME_SOURCE='https://github.com/software-mansion-labs/FissionVM.git#swm'
4950

5051
WORKDIR /build/popcorn
51-
RUN pnpm config set enable-pre-post-scripts true && \
52+
RUN pnpm config set --location project enablePrePostScripts true && \
5253
pnpm install --frozen-lockfile
5354

5455
RUN pnpm -F popcorn build:prod

0 commit comments

Comments
 (0)