From 11bff60610cd0251b18a1d08ade19b0f5ee56227 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Sat, 7 May 2022 23:52:27 +0200 Subject: [PATCH] chore: align docker file node and pnpm version --- CONTRIBUTING.md | 2 +- Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 817a88bf5..4f9ffb367 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -70,7 +70,7 @@ This setting would cause the `pnpm install` command to install incorrect version To begin your development setup, please install the latest version of pnpm globally: ``` -npm i -g pnpm +npm i -g pnpm@latest-6 ``` With pnpm installed, the first step is installing all dependencies: diff --git a/Dockerfile b/Dockerfile index 354dd9b37..f38fc89c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM:-linux/amd64} node:16.14.2-alpine as builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} node:16.15.0-alpine as builder ENV NODE_ENV=development \ VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org @@ -11,7 +11,7 @@ RUN apk --no-cache add openssl ca-certificates wget && \ WORKDIR /opt/verdaccio-build COPY . . -RUN npm -g i pnpm@6.24.1 && \ +RUN npm -g i pnpm@6.32.3 && \ pnpm config set registry $VERDACCIO_BUILD_REGISTRY && \ pnpm recursive install --frozen-lockfile --ignore-scripts && \ rm -Rf test && \ @@ -20,7 +20,7 @@ RUN npm -g i pnpm@6.24.1 && \ # FIXME: need to remove devDependencies from the build # RUN pnpm install --prod --ignore-scripts -FROM node:16.14.2-alpine +FROM node:16.15.0-alpine LABEL maintainer="https://github.com/verdaccio/verdaccio" ENV VERDACCIO_APPDIR=/opt/verdaccio \