docker-images/gitea-runner/NodeLatestDockerfile
Liam df12222f50
Some checks failed
Publish Docker Image / docker (push) Has been cancelled
fix image to be pulled
2023-10-15 01:25:04 +01:00

16 lines
500 B
Plaintext

# Latest official NodeJS image
FROM node:latest AS node
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
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