Ian Fijolek
106ef10c4a
All checks were successful
continuous-integration/drone/push Build is passing
24 lines
522 B
Docker
24 lines
522 B
Docker
FROM alpine:3.18
|
|
|
|
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 \
|
|
sqlite~=3 \
|
|
tzdata~=2024 \
|
|
;
|
|
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
COPY ./dist/resticscheduler-$TARGETOS-$TARGETARCH /bin/resticscheduler
|
|
|
|
HEALTHCHECK CMD ["wget", "-O", "-", "http://localhost:8080/health"]
|
|
|
|
ENTRYPOINT [ "/bin/resticscheduler" ]
|