diff --git a/12/amd64-alpine3.17.dockerfile b/12/amd64-alpine3.17.dockerfile new file mode 100644 index 0000000..8c05179 --- /dev/null +++ b/12/amd64-alpine3.17.dockerfile @@ -0,0 +1,4 @@ +FROM node:18.19.0-alpine3.17 + +RUN apk --no-cache add bash build-base git python3 curl tar zstd +RUN npm install -g npm@9 diff --git a/12/arm64v8-alpine3.17.dockerfile b/12/arm64v8-alpine3.17.dockerfile new file mode 100644 index 0000000..cfaa90b --- /dev/null +++ b/12/arm64v8-alpine3.17.dockerfile @@ -0,0 +1,11 @@ +FROM alpine AS builder + +ENV QEMU_URL=https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz +RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1 + +FROM --platform=linux/arm64 node:18.19.0-alpine3.17 + +COPY --from=builder qemu-aarch64-static /usr/bin + +RUN apk --no-cache add bash build-base git python3 curl tar zstd +RUN npm install -g npm@9