12 lines
439 B
Docker
12 lines
439 B
Docker
FROM docker.io/golang:1.23-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 helm && \
|
|
npm install --cache=/var/cache/node -g renovate
|