docker-images/gitea-runner/NodeLatestDockerfile

16 lines
500 B
Plaintext
Raw Normal View History

2023-10-15 01:24:01 +01:00
# Latest official NodeJS image
2023-10-15 01:25:04 +01:00
FROM node:latest AS node
2023-10-15 01:24:01 +01:00
2023-10-11 23:15:36 +01:00
FROM docker:latest
2023-03-27 22:37:06 +01:00
2023-10-15 01:24:01 +01:00
# 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
2023-03-27 22:37:06 +01:00
# Install packages
2023-10-11 23:40:49 +01:00
RUN apk add --no-cache curl wget git bash
2023-03-27 22:37:06 +01:00
# Install Node 18
2023-05-03 06:50:19 +01:00
RUN apk add nodejs npm --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --allow-untrusted