restic-scheduler/Dockerfile

24 lines
522 B
Docker
Raw Normal View History

FROM alpine:3.18
2022-07-27 20:16:25 -07:00
RUN apk add --no-cache \
bash~=5 \
consul~=1 \
mariadb-client~=10 \
mariadb-connector-c~=3 \
nomad~=1 \
postgresql15-client~=15 \
rclone~=1.62 \
redis~=7 \
restic~=0.15 \
2022-07-27 20:16:25 -07:00
sqlite~=3 \
2024-01-06 15:34:02 -08:00
tzdata~=2023 \
2022-07-27 20:16:25 -07:00
;
2022-04-07 13:36:13 -07:00
2022-04-11 13:00:22 -07:00
ARG TARGETOS
ARG TARGETARCH
COPY ./dist/resticscheduler-$TARGETOS-$TARGETARCH /bin/resticscheduler
2022-04-07 13:36:13 -07:00
HEALTHCHECK CMD ["wget", "-O", "-", "http://localhost:8080/health"]
2022-04-13 15:13:29 -07:00
ENTRYPOINT [ "/bin/resticscheduler" ]