docker-supercronic/Dockerfile
renovate-bot 8cf16b4eef
All checks were successful
Test / lint (pull_request) Successful in 3s
Test / test (pull_request) Successful in 1m0s
Build and publish / lint (push) Successful in 3s
Build and publish / build (push) Successful in 1m8s
Update golang:1.24.2-bullseye Docker digest to f0fe88a
2025-04-09 00:07:39 +00:00

16 lines
473 B
Docker

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