Fixed npm version on ubi9 based image
Build and Push Alpine NodeJS Image to docker.io Registry / Build and push nodejs alpine based to docker.io (push) Successful in 4m46s
Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push nodejs alpine based to git.winteraccess.id (push) Successful in 1m15s
Details
Build and Push UBI9 NodeJS Image to docker.io Registry / Build and push nodejs ubi9 based to docker.io (push) Successful in 10m11s
Details
Build and Push UBI9 NodeJS Image to git.winteraccess.id Registry / Build and push nodejs ubi9 based to git.winteraccess.id (push) Successful in 1m56s
Details
Build and Push UBI9 NodeJS Image to docker.io Registry / Build and push nodejs ubi9-micro based to docker.io (push) Successful in 4m25s
Details
Build and Push UBI9 NodeJS Image to git.winteraccess.id Registry / Build and push nodejs ubi9-micro based to git.winteraccess.id (push) Successful in 1m30s
Details
Build and Push Alpine NodeJS Image to docker.io Registry / Build and push nodejs alpine based to docker.io (push) Successful in 4m46s
Details
Build and Push Alpine NodeJS Image to Winter Access Registry / Build and push nodejs alpine based to git.winteraccess.id (push) Successful in 1m15s
Details
Build and Push UBI9 NodeJS Image to docker.io Registry / Build and push nodejs ubi9 based to docker.io (push) Successful in 10m11s
Details
Build and Push UBI9 NodeJS Image to git.winteraccess.id Registry / Build and push nodejs ubi9 based to git.winteraccess.id (push) Successful in 1m56s
Details
Build and Push UBI9 NodeJS Image to docker.io Registry / Build and push nodejs ubi9-micro based to docker.io (push) Successful in 4m25s
Details
Build and Push UBI9 NodeJS Image to git.winteraccess.id Registry / Build and push nodejs ubi9-micro based to git.winteraccess.id (push) Successful in 1m30s
Details
This commit is contained in:
parent
6c754463ca
commit
bf2b0b0363
|
@ -11,7 +11,7 @@ FROM ${REGISTRY_URL}/alpine:${ALPINE_VERSION}
|
||||||
LABEL maintainer="<Muhamad Aditya Prima> aprimediet@gmail.com"
|
LABEL maintainer="<Muhamad Aditya Prima> aprimediet@gmail.com"
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
WORKDIR /
|
WORKDIR /tmp
|
||||||
|
|
||||||
# Set Cache Directory
|
# Set Cache Directory
|
||||||
ENV NODE_DIR=/usr/local/share/nodejs
|
ENV NODE_DIR=/usr/local/share/nodejs
|
||||||
|
|
|
@ -45,8 +45,7 @@ RUN npm -g config set cache ${NPM_CACHE_DIR} && \
|
||||||
|
|
||||||
# Install Yarn
|
# Install Yarn
|
||||||
RUN --mount=type=cache,target=${NPM_CACHE_DIR} \
|
RUN --mount=type=cache,target=${NPM_CACHE_DIR} \
|
||||||
npm i -g npm@latest && \
|
npm i -g yarn && \
|
||||||
npm i -g yarn@latest && \
|
|
||||||
yarn config set cache-folder ${YARN_CACHE_DIR} && \
|
yarn config set cache-folder ${YARN_CACHE_DIR} && \
|
||||||
dnf -y autoremove && \
|
dnf -y autoremove && \
|
||||||
dnf -y clean all
|
dnf -y clean all
|
||||||
|
|
Loading…
Reference in New Issue