Files
addons/configurator/Dockerfile
Daniel Perna 07f7634e94 Update to Configurator 0.3.1 (#357)
* Update to configurator 0.3.1

* Fix tests

* Forgot SSL

* Update config.json

* Update run.sh

* Update run.sh

* Update run.sh

* Update config.json

* Update run.sh

* Removed verify_hostname option

* Update config.json

* Update run.sh

* Update build.json

* Update Dockerfile

* Update Dockerfile
2018-08-03 23:05:45 +02:00

16 lines
387 B
Docker

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