docker-supercronic/Dockerfile
renovate-bot bb32a38d43
Some checks reported errors
continuous-integration/drone/pr Build was killed
Update golang:1.23.2-bullseye Docker digest to ecb3fe7
2024-10-19 12:08:57 +00:00

17 lines
473 B
Docker

FROM golang:1.23.2-bullseye@sha256:ecb3fe70e1fd6cef4c5c74246a7525c3b7d59c48ea0589bbb0e57b1b37321fb9 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"]