images/renovate/Dockerfile

13 lines
439 B
Text
Raw Normal View History

2024-03-02 11:20:03 +00:00
FROM docker.io/golang:1.22-alpine AS go-tools-builder
2023-11-17 08:03:46 +00:00
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/
2023-11-17 08:18:51 +00:00
RUN --mount=type=cache,target=/var/cache/node \
2023-11-17 08:03:46 +00:00
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
2023-11-17 08:28:15 +00:00
apk add -U --no-cache git go helm && \
2024-03-02 11:20:03 +00:00
npm install --cache=/var/cache/node -g renovate