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"
|
LABEL maintainer="sombochea@cubetiqs.com"
|
||||||
|
|
||||||
# Install PNPM
|
# Install PNPM
|
||||||
ARG PNPM_VERSION=7.26.0
|
ARG PNPM_VERSION=7.26.3
|
||||||
ENV PNPM_HOME=/root/.local/share/pnpm
|
ENV PNPM_HOME=/root/.local/share/pnpm
|
||||||
ENV PATH=$PATH:$PNPM_HOME
|
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 && \
|
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
|
apk del curl
|
||||||
|
|
||||||
|
# Update NPM package
|
||||||
|
RUN npm install -g npm@latest
|
||||||
|
|
||||||
# Install yarn from npm package
|
# Install yarn from npm package
|
||||||
RUN npm -g i yarn
|
RUN npm -g i yarn@latest
|
||||||
|
|
||||||
# Checking packages version
|
# Checking packages version
|
||||||
RUN echo "NODE: $(node --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" \
|
&& rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps
|
||||||
|
|
||||||
|
# Update NPM package
|
||||||
|
RUN npm install -g npm@latest
|
||||||
|
|
||||||
# Checking packages version
|
# Checking packages version
|
||||||
RUN echo "NODE: $(node --version)" \
|
RUN echo "NODE: $(node --version)" \
|
||||||
&& echo "NPM: $(npm --version)" \
|
&& echo "NPM: $(npm --version)" \
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
- CUBETIQ Alpine OS Linux (Latest)
|
- CUBETIQ Alpine OS Linux (Latest)
|
||||||
- Nodejs 16 (16.19.0)
|
- Nodejs 16 (16.19.0)
|
||||||
- PNPM 7 (7.26.0)
|
- PNPM 7 (7.26.3)
|
||||||
|
|
||||||
# [Docker Hub](https://hub.docker.com/r/cubetiq/calpine-node)
|
# [Docker Hub](https://hub.docker.com/r/cubetiq/calpine-node)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user