mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Update Dockerfile
https://github.com/alexbelgium/hassio-addons/issues/1154#issuecomment-1876077498
This commit is contained in:
@@ -34,12 +34,12 @@ VOLUME [ "/sys/fs/cgroup" ]
|
|||||||
# hadolint ignore=SC2015,DL4006,SC2013,SC2086
|
# hadolint ignore=SC2015,DL4006,SC2013,SC2086
|
||||||
RUN \
|
RUN \
|
||||||
# Change home folder location
|
# Change home folder location
|
||||||
usermod --home /config/addons_config/calibre abc \
|
usermod --home /config abc \
|
||||||
&& mkdir -p /opt/calibre
|
&& mkdir -p /opt/calibre
|
||||||
|
|
||||||
# Global LSIO modifications
|
# Global LSIO modifications
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
|
||||||
ARG CONFIGLOCATION="/config/addons_config/calibre"
|
ARG CONFIGLOCATION="/config"
|
||||||
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh
|
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|||||||
Reference in New Issue
Block a user