16 lines
473 B
Docker
16 lines
473 B
Docker
FROM golang:1.24.1-bullseye@sha256:ab9b6de58c573ffd99dbc2be54bbc9a206eb736f6be491fc07d3d2cde2c2cfe7 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"]
|