Updated pnpm and npm
This commit is contained in:
parent
4eb9a8d71d
commit
398ed50e13
@ -2,7 +2,7 @@ FROM cubetiq/calpine-node:slim
|
||||
LABEL maintainer="sombochea@cubetiqs.com"
|
||||
|
||||
# Install PNPM
|
||||
ARG PNPM_VERSION=7.26.0
|
||||
ARG PNPM_VERSION=7.26.3
|
||||
ENV PNPM_HOME=/root/.local/share/pnpm
|
||||
ENV PATH=$PATH:$PNPM_HOME
|
||||
|
||||
@ -11,8 +11,11 @@ RUN echo "Installing PNPM version: $PNPM_VERSION" && \
|
||||
curl -fsSL "https://github.com/pnpm/pnpm/releases/download/v${PNPM_VERSION}/pnpm-linuxstatic-x64" -o /bin/pnpm && chmod +x /bin/pnpm && \
|
||||
apk del curl
|
||||
|
||||
# Update NPM package
|
||||
RUN npm install -g npm@latest
|
||||
|
||||
# Install yarn from npm package
|
||||
RUN npm -g i yarn
|
||||
RUN npm -g i yarn@latest
|
||||
|
||||
# Checking packages version
|
||||
RUN echo "NODE: $(node --version)" \
|
||||
|
@ -77,6 +77,9 @@ RUN addgroup -g ${USER_UID} node \
|
||||
&& rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" \
|
||||
&& apk del .build-deps
|
||||
|
||||
# Update NPM package
|
||||
RUN npm install -g npm@latest
|
||||
|
||||
# Checking packages version
|
||||
RUN echo "NODE: $(node --version)" \
|
||||
&& echo "NPM: $(npm --version)" \
|
||||
|
Loading…
Reference in New Issue
Block a user