From 8dc4c9d234b47469592e6836b1744694c0a6769c Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Tue, 14 Jan 2020 21:18:02 +0100 Subject: [PATCH 1/2] Comment the healthcheck since it's not in the image anymore --- seafile-client/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile-client/docker-entrypoint.sh b/seafile-client/docker-entrypoint.sh index 3494004..3f6a8bf 100644 --- a/seafile-client/docker-entrypoint.sh +++ b/seafile-client/docker-entrypoint.sh @@ -47,7 +47,7 @@ if [ "$GID" != "1000" ]; then fi # Set the files ownership. -chown $UID.$GID /home/seafuser/healthcheck.sh +#chown $UID.$GID /home/seafuser/healthcheck.sh chown $UID.$GID /home/seafuser/entrypoint.sh chown $UID.$GID -R /volume From 648df8b9cb5d9e03bb5ee213c4c5b72f719da99c Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Tue, 14 Jan 2020 21:18:48 +0100 Subject: [PATCH 2/2] Fix the ownership change to the library path --- seafile-client/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile-client/docker-entrypoint.sh b/seafile-client/docker-entrypoint.sh index 3f6a8bf..6b16218 100644 --- a/seafile-client/docker-entrypoint.sh +++ b/seafile-client/docker-entrypoint.sh @@ -49,7 +49,7 @@ fi # Set the files ownership. #chown $UID.$GID /home/seafuser/healthcheck.sh chown $UID.$GID /home/seafuser/entrypoint.sh -chown $UID.$GID -R /volume +chown $UID.$GID -R /library # Run the Seafile client as the container user. su - $UNAME << EO