mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 13:44:20 +01:00
* 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
16 lines
387 B
Docker
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"]
|