This commit is contained in:
Alexandre
2021-01-20 21:42:31 +01:00
committed by GitHub
parent adefb9f96b
commit 221d827833

View File

@@ -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/* \