From 2380e0f382c48a5b1441c2c4cbfe278969332993 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 21 Jan 2021 11:27:27 +0100 Subject: [PATCH] clean --- nextcloud/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 6a3ca0ae2..0eaf3619f 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -8,6 +8,7 @@ ENV NEXTCLOUD_PATH="/data/config/www/nextcloud" # Set shell SHELL ["/bin/bash", "-o", "pipefail", "-c"] +# Added repo to solve issues with some systems that cause error code 1 when fetching apk # Add bashio RUN echo 'https://dl-3.alpinelinux.org/alpine/latest-stable/main' > /etc/apk/repositories \ && echo '@testing https://dl-3.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \ @@ -24,7 +25,8 @@ RUN echo 'https://dl-3.alpinelinux.org/alpine/latest-stable/main' > /etc/apk/rep \ && mv /tmp/bashio/lib /usr/lib/bashio \ && ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ - && rm -fr /tmp/bashio.tar.gz || echo "Error, no OCR available" + && rm -fr /tmp/bashio.tar.gz \ + || echo "Error, no OCR available" # modify/copy files RUN sed -i "s|data|share/nextcloud|g" /etc/cont-init.d/* \