adding auto restore of DB

This commit is contained in:
2021-09-15 09:07:17 -04:00
parent ebd28607a8
commit a7c309df81
2 changed files with 18 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
FROM alpine:latest
ARG RELEASE=latest
RUN apk add --no-cache --virtual .run-deps rsync openssh tzdata curl ca-certificates flock bash tar wget && rm -rf /var/cache/apk/*
RUN apk add --no-cache --virtual .run-deps rsync openssh tzdata curl ca-certificates flock bash tar wget unzip && rm -rf /var/cache/apk/*
RUN echo $RELEASE
RUN wget -P /tmp https://github.com/benbjohnson/litestream/releases/download/${RELEASE}/litestream-${RELEASE}-linux-arm7-static.tar.gz && \
tar -C /usr/local/bin/ -xzvf /tmp/litestream-${RELEASE}-linux-arm7-static.tar.gz