17 lines
473 B
Docker
17 lines
473 B
Docker
FROM golang:1.22.3-bullseye@sha256:78b171fe51f25b8c3197710f281dacae94759a254e9a486576005f9dadba9e7d as build
|
|
|
|
# renovate: datasource=github-tags depName=aptible/supercronic versioning=semver
|
|
ENV SUPERCRONIC_VERSION v0.2.29
|
|
|
|
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"]
|