mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-20 15:51:50 +02:00
Update Dockerfile
This commit is contained in:
@@ -5,7 +5,7 @@ FROM m4dm4rtig4n/enedisgateway2mqtt:$BUILD_UPSTREAM
|
|||||||
ARG BASHIO_VERSION=0.13.1
|
ARG BASHIO_VERSION=0.13.1
|
||||||
|
|
||||||
# Copy root filesystem
|
# Copy root filesystem
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
VOLUME [ "/config" ]
|
VOLUME [ "/config" ]
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
@@ -28,13 +28,7 @@ RUN \
|
|||||||
| tar -xzf - --strip 1 -C /tmp/bashio \
|
| tar -xzf - --strip 1 -C /tmp/bashio \
|
||||||
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
||||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||||
&& rm -rf /tmp/bashio \
|
&& rm -rf /tmp/bashio || true
|
||||||
##################
|
|
||||||
# Install config #
|
|
||||||
##################
|
|
||||||
&& mkdir -p /config/enedisgateway2mqtt \
|
|
||||||
&& cp -n /templates/* /config/enedisgateway2mqtt/ \
|
|
||||||
|| true
|
|
||||||
|
|
||||||
RUN chmod 777 /entrypoint.sh
|
RUN chmod 777 /entrypoint.sh
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user