docker-supercronic/Dockerfile
renovate-bot 3ec3c11889
Some checks reported errors
continuous-integration/drone/pr Build was killed
Update golang Docker tag to v1.23.3
2024-11-13 19:08:55 +00:00

17 lines
473 B
Docker

FROM golang:1.23.3-bullseye@sha256:bc1b90c2a8eb0ffb62325e02a85d51031ad3afae15b3df4b6a48b7929b00badb as build
# renovate: datasource=github-tags depName=aptible/supercronic versioning=semver
ENV SUPERCRONIC_VERSION v0.2.33
RUN set -ex; \
git clone --branch $SUPERCRONIC_VERSION https://github.com/aptible/supercronic; \
cd supercronic; \
go mod vendor; \
go install;
FROM scratch
COPY --from=build /go/bin/supercronic /
CMD ["/supercronic", "/crontab"]