mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
A
This commit is contained in:
@@ -9,9 +9,8 @@ ENV NEXTCLOUD_PATH="/data/config/www/nextcloud"
|
|||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
# Add bashio
|
# Add bashio
|
||||||
RUN set +e \
|
RUN apk add --no-cache \
|
||||||
&& apk add --no-cache \
|
curl jq a \
|
||||||
curl jq \
|
|
||||||
&& curl -J -L -o /tmp/bashio.tar.gz \
|
&& curl -J -L -o /tmp/bashio.tar.gz \
|
||||||
"https://github.com/hassio-addons/bashio/archive/v0.10.1.tar.gz" \
|
"https://github.com/hassio-addons/bashio/archive/v0.10.1.tar.gz" \
|
||||||
&& mkdir /tmp/bashio \
|
&& mkdir /tmp/bashio \
|
||||||
@@ -21,7 +20,7 @@ RUN set +e \
|
|||||||
\
|
\
|
||||||
&& 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 -fr /tmp/bashio.tar.gz
|
&& rm -fr /tmp/bashio.tar.gz || echo "Error, no OCR available"
|
||||||
|
|
||||||
# modify/copy files
|
# modify/copy files
|
||||||
RUN sed -i "s|data|share/nextcloud|g" /etc/cont-init.d/* \
|
RUN sed -i "s|data|share/nextcloud|g" /etc/cont-init.d/* \
|
||||||
|
|||||||
Reference in New Issue
Block a user