images/renovate/Dockerfile
Peter Kurfer 6010a3fd7c
Some checks failed
Image builds / build_images (renovate) (push) Failing after 1m34s
Image builds / build_images (act_runtime) (push) Successful in 1m38s
KeyDB / build-key-db-image (push) Successful in 35s
fix: nodejs re2 install
2023-11-17 09:18:51 +01:00

12 lines
No EOL
446 B
Docker

FROM docker.io/golang:1.21-alpine AS go-tools-builder
RUN go install github.com/marwan-at-work/mod/cmd/mod@latest
FROM docker.io/node:lts-alpine
COPY --from=go-tools-builder /go/bin/ /usr/local/bin/
RUN --mount=type=cache,target=/var/cache/node \
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
apk add -U --no-cache git go re2 helm && \
npm install --cache=/var/cache/node -g renovate re2