You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
473 B
Docker
17 lines
473 B
Docker
FROM golang:1.20.5-bullseye@sha256:419bc8954c0e08c539830c8669ccd116a063303481c748fabd09d8fd6d4e2c5f as build
|
|
|
|
# renovate: datasource=github-tags depName=aptible/supercronic versioning=semver
|
|
ENV SUPERCRONIC_VERSION v0.2.25
|
|
|
|
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"]
|