From 6eb9afdd0eec8cb73c16f43621207ba1497ec3a8 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Mon, 21 Oct 2024 09:46:36 +0200 Subject: [PATCH] docker: Fix /var/hugo being owned by root The use of COPY --link incorrectly caused the /var/hugo directory to be owned by root, and not the hugo:hugo user. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 01e82dbf49a..4681a90068a 100755 --- a/Dockerfile +++ b/Dockerfile @@ -83,7 +83,7 @@ ENV HUGO_CACHEDIR=/cache ENV PATH="/var/hugo/bin:$PATH" COPY scripts/docker/entrypoint.sh /entrypoint.sh -COPY --link --from=dart-sass /out/dart-sass /var/hugo/bin/dart-sass +COPY --from=dart-sass /out/dart-sass /var/hugo/bin/dart-sass # Update PATH to reflect the new dependencies. # For more complex setups, we should probably find a way to