From 8cea8b35fe33bd5c5f68a9f77ebddb4c48602160 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 17 Jan 2021 21:48:10 +0100 Subject: [PATCH] Improve code --- nextcloud/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index f3983adb7..3623e4659 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -5,8 +5,10 @@ FROM ${BUILD_FROM}-${BUILD_VERSION} ENV NEXTCLOUD_PATH="/data/config/www/nextcloud" -RUN apk update -RUN apk upgrade +# Set shell +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +RUN apk --update-cache upgrade RUN apk add tesseract-ocr RUN apk add tesseract-ocr-data-deu