docker-supercronic/Dockerfile
renovate-bot b7993d9f05
Some checks failed
Test / lint (pull_request) Failing after 2s
Test / test (pull_request) Failing after 4s
Update golang Docker tag to v1.23.7
2025-03-05 01:16:57 +00:00

16 lines
473 B
Docker

FROM golang:1.23.7-bullseye@sha256:8731dcb40a7b879ccb493fa4fa38e83d9f33ca24ab60bec02e98d5af7e962cac 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"]