From 37b8a011db2d0940b3e45f40de737df6b55df1ab Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Mar 2026 02:44:45 +0000 Subject: [PATCH] Fix Dockerfile: restore \ continuation and run archivebox version as non-root - Add missing backslash on line 383 that caused Docker build parse failure (the linter removed the \ continuation character, breaking the RUN instruction) - Use gosu to run archivebox version as the archivebox user since ArchiveBox refuses to run as root https://claude.ai/code/session_01X2H7XLawCzLGnrxMArXtVZ --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 75df168d..71f39fac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -380,8 +380,8 @@ RUN (echo -e "\n\n[√] Finished Docker build succesfully. Saving build summary ) | tee -a /VERSION.txt # Verify ArchiveBox is installed and print version info -RUN chmod +x "$CODE_DIR"/bin/*.sh - && (archivebox version 2>&1 | tee -a /VERSION.txt || true) +RUN chmod +x "$CODE_DIR"/bin/*.sh \ + && gosu "$DEFAULT_PUID" archivebox version 2>&1 | tee -a /VERSION.txt || true ####################################################