From d614f1946403c26bdfe645f414936a8fb8913316 Mon Sep 17 00:00:00 2001 From: Akhil Date: Thu, 29 Jun 2023 15:36:10 +0530 Subject: [PATCH] Add sed to disable avatar generation --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 238cb041..04f950fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -204,6 +204,9 @@ RUN curl -fsSL -o oidc_login.tar.gz \ tar -xf oidc_login.tar.gz -C ${BASE_DIR}/custom_apps && \ rm oidc_login.tar.gz +# Remove user avatar generation for system addressbook card +RUN sed -i 's/$this->getAvatarImage($user)/null/' ${BASE_DIR}/apps/dav/lib/CardDAV/Converter.php + # Replace "Get your own free account" NC link with /e/ Account link in public pages RUN sed -i 's/https:\/\/nextcloud.com\/signup\//https:\/\/e\.foundation\/\/e-email-invite\//' ${BASE_DIR}/core/templates/layout.public.php -- GitLab