Auto Snapshot

This commit is contained in:
2019-03-10 18:09:12 +01:00
parent a928bd82e6
commit 0ac819cc26
5 changed files with 87 additions and 0 deletions

14
auto-snapshot/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
ARG BUILD_FROM
FROM $BUILD_FROM
ENV LANG C.UTF-8
# Copy scripts for add-on
COPY run.sh /
COPY snapshot.sh /
RUN apk add -U jq bc curl && \
chmod a+x /run.sh && \
chmod a+x /snapshot.sh
CMD [ "/run.sh" ]