mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
####################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user