2023-10-23 17:49:33 +00:00
|
|
|
FROM alpine:3.18
|
2022-04-13 22:39:52 +00:00
|
|
|
|
2022-07-28 03:16:25 +00:00
|
|
|
RUN apk add --no-cache \
|
|
|
|
bash~=5 \
|
2023-10-23 17:49:33 +00: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-28 03:16:25 +00:00
|
|
|
sqlite~=3 \
|
2023-08-11 12:53:17 +00:00
|
|
|
tzdata~=2023c \
|
2022-07-28 03:16:25 +00:00
|
|
|
;
|
2022-04-07 20:36:13 +00:00
|
|
|
|
2022-04-11 20:00:22 +00:00
|
|
|
ARG TARGETOS
|
|
|
|
ARG TARGETARCH
|
|
|
|
COPY ./dist/resticscheduler-$TARGETOS-$TARGETARCH /bin/resticscheduler
|
2022-04-07 20:36:13 +00:00
|
|
|
|
2023-10-26 03:07:08 +00:00
|
|
|
HEALTHCHECK CMD ["wget", "-O", "-", "http://localhost:8080/health"]
|
|
|
|
|
2022-04-13 22:13:29 +00:00
|
|
|
ENTRYPOINT [ "/bin/resticscheduler" ]
|