ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:10.0.2
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" ]