This commit is contained in:
parent
d904c55049
commit
d5dace88ad
@ -1,5 +1,14 @@
|
|||||||
|
# Latest official NodeJS image
|
||||||
|
FROM node:latest-alpine AS node
|
||||||
|
|
||||||
FROM docker:latest
|
FROM docker:latest
|
||||||
|
|
||||||
|
# Copy Node from the official docker image
|
||||||
|
COPY --from=node /usr/lib /usr/lib
|
||||||
|
COPY --from=node /usr/local/lib /usr/local/lib
|
||||||
|
COPY --from=node /usr/local/include /usr/local/include
|
||||||
|
COPY --from=node /usr/local/bin /usr/local/bin
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
RUN apk add --no-cache curl wget git bash
|
RUN apk add --no-cache curl wget git bash
|
||||||
|
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
FROM docker:latest
|
FROM fascinated/docker-images:node-latest
|
||||||
|
|
||||||
# Install packages
|
|
||||||
RUN apk add --no-cache curl wget git bash
|
|
||||||
|
|
||||||
# Install Node 18
|
|
||||||
RUN apk add nodejs npm --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --allow-untrusted
|
|
||||||
|
|
||||||
# Install pnpm
|
# Install pnpm
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
Loading…
Reference in New Issue
Block a user