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" ]