From a83363f81215edd583f364a02ed0bf8d8d63f6a3 Mon Sep 17 00:00:00 2001 From: Josh Date: Sat, 19 Oct 2024 11:06:15 -0400 Subject: [PATCH 1/2] fix(entrypoint): set non-bogus $HOME when using su Signed-off-by: Josh --- 30/apache/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/30/apache/entrypoint.sh b/30/apache/entrypoint.sh index 8e178f2e..a24fc88b 100755 --- a/30/apache/entrypoint.sh +++ b/30/apache/entrypoint.sh @@ -13,7 +13,7 @@ directory_empty() { run_as() { if [ "$(id -u)" = 0 ]; then - su -p "$user" -s /bin/sh -c "$1" + HOME=/var/www su -p "$user" -s /bin/sh -c "$1" else sh -c "$1" fi From d5c6e2ff0ec45631163153d22db03bca4bc65513 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 23 Dec 2024 09:03:54 -0500 Subject: [PATCH 2/2] docs(readme): Add community helm chart link Signed-off-by: Josh --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 152489b2..6745faa3 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/nextcloud/docker) ![GitHub contributors](https://img.shields.io/github/contributors/nextcloud/docker?label=contributors%20-%20Thank%20you!) ![Docker Pulls](https://img.shields.io/docker/pulls/library/nextcloud) +[![Helm](https://img.shields.io/badge/Helm-0F1689?logo=helm&logoColor=fff)](https://github.com/nextcloud/helm/?tab=readme-ov-file) # What is Nextcloud?