2023-10-23 10:49:33 -07:00
|
|
|
FROM alpine:3.18
|
2022-04-13 15:39:52 -07:00
|
|
|
|
2022-07-27 20:16:25 -07:00
|
|
|
RUN apk add --no-cache \
|
|
|
|
bash~=5 \
|
2023-10-23 10:49:33 -07:00
|
|
|
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-11-02 15:33:03 -07:00
|
|
|
tzdata~=2024 \
|
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
|
2024-11-05 09:22:09 -08:00
|
|
|
COPY ./dist/restic-scheduler-$TARGETOS-$TARGETARCH /bin/restic-scheduler
|
2022-04-07 13:36:13 -07:00
|
|
|
|
2023-10-25 20:07:08 -07:00
|
|
|
HEALTHCHECK CMD ["wget", "-O", "-", "http://localhost:8080/health"]
|
|
|
|
|
2024-11-05 09:22:09 -08:00
|
|
|
ENTRYPOINT [ "/bin/restic-scheduler" ]
|