Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderdw committed Apr 22, 2024
1 parent 5b5e731 commit 34e5dc8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
20 changes: 8 additions & 12 deletions dsmr_reader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,19 @@ ENV LANG C.UTF-8

RUN apk add --no-cache jq

# Add bashio
RUN \
curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.14.3.tar.gz" \
&& mkdir /tmp/bashio \
&& tar zxvf \
/tmp/bashio.tar.gz \
--strip 1 -C /tmp/bashio \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
mkdir -p /usr/src/bashio \
&& curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v0.16.2.tar.gz" \
| tar -xzf - --strip 1 -C /usr/src/bashio \
&& mv /usr/src/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -f -r \
/tmp/*
\
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /usr/src/*

# HOMEASSISTANT Add-On OVERRIDES
COPY rootfs /
RUN chmod a+x /etc/cont-init.d/01-set-hassio-vars
RUN chmod a+x /etc/s6-overlay/s6-rc.d/set-hassio-vars/run

ENV DUID=0
ENV DGID=0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set-hassio-vars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
#!/command/with-contenv bashio

#---------------------------------------------------------------------------------------------------------------------------
# HOMEASSISTANT Add-On OVERRIDES
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oneshot
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/set-hassio-vars/run
Empty file.

0 comments on commit 34e5dc8

Please sign in to comment.