Breaking changes for alpine linux replace by node:18-alpine
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -2,20 +2,13 @@ FROM cubetiq/calpine-node:slim
|
||||
LABEL maintainer="sombochea@cubetiqs.com"
|
||||
|
||||
# Install PNPM
|
||||
ARG PNPM_VERSION=8.7.5
|
||||
ENV PNPM_HOME=/root/.local/share/pnpm
|
||||
ENV PATH=$PATH:$PNPM_HOME
|
||||
|
||||
RUN echo "Installing PNPM version: $PNPM_VERSION" && \
|
||||
apk add --no-cache curl && \
|
||||
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
|
||||
RUN npm install -g pnpm@latest
|
||||
|
||||
# Update NPM package
|
||||
RUN npm install -g npm@latest
|
||||
|
||||
# Install yarn from npm package
|
||||
RUN npm -g i yarn@latest
|
||||
RUN npm install -g yarn@latest --force
|
||||
|
||||
# Checking packages version
|
||||
RUN echo "NODE: $(node --version)" \
|
||||
|
||||
Reference in New Issue
Block a user