hassio-auto-backup/Dockerfile

15 lines
248 B
Docker
Raw Normal View History

2021-09-14 13:32:55 +00:00
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:10.0.2
2021-09-14 13:30:49 +00:00
FROM $BUILD_FROM
ENV LANG C.UTF-8
# Copy scripts for add-on
COPY run.sh /
COPY backup.sh /
RUN apk add -U jq bc curl && \
chmod a+x /run.sh && \
chmod a+x /backup.sh
CMD [ "/run.sh" ]