docker-supercronic/Dockerfile
renovate-bot f983f80fda
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Update golang:1.22.5-bullseye Docker digest to 583d5af
2024-07-24 06:06:23 +00:00

17 lines
473 B
Docker

FROM golang:1.22.5-bullseye@sha256:583d5af8289d30de50aa0dcf4985d8b8746e52622becd6e1a62cfe191d5275a5 as build
# renovate: datasource=github-tags depName=aptible/supercronic versioning=semver
ENV SUPERCRONIC_VERSION v0.2.30
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"]