docker-supercronic/Dockerfile
renovate-bot e2ec0434b8
All checks were successful
Test / lint (pull_request) Successful in 4s
Test / test (pull_request) Successful in 1m3s
Build and publish / lint (push) Successful in 3s
Build and publish / build (push) Successful in 1m11s
Update golang:1.24.4-bullseye Docker digest to dfd7219
2025-06-11 21:09:51 +00:00

16 lines
473 B
Docker

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