ARG BUILD_FROM FROM $BUILD_FROM # Setup base ARG CONFIGURATOR_VERSION RUN apk add --no-cache git curl openssh \ && pip3 install --no-cache-dir GitPython pyotp \ && curl -s -o /configurator.py https://raw.githubusercontent.com/danielperna84/hass-configurator/$CONFIGURATOR_VERSION/configurator.py \ && apk del curl # Copy data COPY run.sh / RUN chmod a+x /run.sh CMD ["/run.sh"]