163 Commits

Author SHA1 Message Date
Nick Sweeting
b749b26c5d wip 2026-03-23 03:58:32 -07:00
Nick Sweeting
6b0cfbc522 revert docker to use pip again 2026-03-15 22:10:04 -07:00
Nick Sweeting
311e4340ec Fix add CLI input handling and lint regressions 2026-03-15 19:04:13 -07:00
Claude
37b8a011db 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
2026-03-15 02:44:45 +00:00
Claude
2f200f6bf2 Fix review feedback: restore archivebox.localhost subdomain routing, dev docs, and extractor env vars
- Restore LISTEN_HOST=archivebox.localhost:8000 and
  CSRF_TRUSTED_ORIGINS=http://admin.archivebox.localhost:8000 in
  docker-compose.yml (subdomain routing is core to ArchiveBox architecture)
- Restore HEALTHCHECK URL to admin.archivebox.localhost in Dockerfile
- Restore SAVE_WGET=False SAVE_DOM=False in README security section
  (old SAVE_* env vars still work via x-aliases in config.json)
- Revert dev setup docs to use ./bin/lock_pkgs.sh instead of bare uv sync
- Fix docker-compose.yml open URL to web.archivebox.localhost:8000

https://claude.ai/code/session_01X2H7XLawCzLGnrxMArXtVZ
2026-03-15 02:41:50 +00:00
Nick Sweeting
d841be1148 Update Dockerfile
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-03-14 22:39:13 -04:00
Claude
5e6ba0bfa5 Update Dockerfile, docker-compose.yml, and README for v0.9.0 plugin system overhaul
- Dockerfile: Fix Python version refs (3.14->3.13), update uv 0.5->0.6,
  fix double GPG dearmor for NodeSource key, fix trailing whitespace in
  playwright install, fix HEALTHCHECK to use localhost instead of
  admin.archivebox.localhost, fix multi-arch build missing space,
  remove stale GLOBAL_VENV comments, re-enable archivebox version check,
  update example FROM python:3.13-slim and pip install archivebox>=0.9.0
- docker-compose.yml: Remove deprecated SAVE_ARCHIVEDOTORG and
  LISTEN_HOST config, update CSRF_TRUSTED_ORIGINS to localhost,
  fix docker-compose -> docker compose in comments
- docker_entrypoint.sh: Fix unquoted PUID variable that could fail
  when unset (use ${PUID:-})
- README.md: Replace --setup with --install (matching actual CLI flag),
  update Python >=3.10 -> >=3.13, Node >=18 -> >=22, remove deprecated
  SAVE_* config options (SAVE_ARCHIVEDOTORG, SAVE_FAVICON, SAVE_WGET,
  SAVE_DOM), update build tool refs (pdm->uv), update job queue ref
  (Huey->orchestrator+supervisord), fix Django version refs (5.1->6.0),
  fix daphne link typo, fix archivebox setup -> install, simplify pip
  install instructions

https://claude.ai/code/session_01X2H7XLawCzLGnrxMArXtVZ
2026-03-15 00:17:10 +00:00
Pellaeon Lin
9aa4f0de58 FIX: The docker entrypoint doesn't have --quick-init 2026-01-31 08:25:22 +00:00
Pellaeon Lin
36008fd1fa FIX: docker build 2026-01-30 09:07:09 +00:00
Nick Sweeting
ec4b27056e wip 2026-01-21 03:19:56 -08:00
Claude
cff4077c23 Bump Python version requirement from 3.11 to 3.14
Update all references to Python 3.11 to use Python 3.14 to match
the pyproject.toml requires-python = ">=3.14" setting:

- bin/lock_pkgs.sh: uv venv --python 3.14
- .github/workflows/test.yml: python matrix and PDM version
- .github/workflows/pip.yml: PYTHON_VERSION env var
- Dockerfile: comment and example FROM line
- Issue templates: example version output
2025-12-27 00:30:27 +00:00
Nick Sweeting
8b67186c93 make sure uv is using the right python binary 2025-03-20 16:04:58 -07:00
Nick Sweeting
839016b4b1 get docker image down to 630mb 2024-12-18 05:03:52 -08:00
Nick Sweeting
54d4d7f640 bring image back down to 700mb 2024-12-18 04:43:53 -08:00
Nick Sweeting
47a7cabc68 re-order dockerfile blocks 2024-12-18 02:24:21 -08:00
Nick Sweeting
098573705b clean up Dockerfile 2024-12-18 02:24:21 -08:00
Nick Sweeting
c54b944674 change docker build to use uv exclusively instead of requirements.txt 2024-12-17 21:09:41 -08:00
Nick Sweeting
9b7ad2cae6 fix Dockerfile and INSTALLER_BIN_ABSPATH when not available on host 2024-10-21 03:16:07 -07:00
Nick Sweeting
f6212d2254 update dockerfile to hardcoce TMP_DIR and LIB_DIR 2024-10-21 00:36:53 -07:00
Nick Sweeting
fbd2c458c3 fix Docker main build 2024-10-11 00:44:19 -07:00
Nick Sweeting
2879bcb969 fix dockerfile global npm install location 2024-10-09 03:17:20 -07:00
Nick Sweeting
df544d00dc fix docker build to use user-local npm dir and not package.json 2024-10-08 19:46:12 -07:00
Nick Sweeting
5e351f6ba6 more docker dependency tweaks 2024-10-08 01:47:38 -07:00
Nick Sweeting
397ae1a99b fix Docker build and import issues 2024-10-08 00:12:09 -07:00
Nick Sweeting
cf1ea8f80f improve config loading of TMP_DIR, LIB_DIR, move to separate files 2024-10-07 23:45:11 -07:00
Nick Sweeting
7a9460f45b try to ensure tmp is writable by archivebox user 2024-10-05 04:17:58 -07:00
Nick Sweeting
f108ab2270 revert docker python version back to 3.11 because node 22 needs 3.11 and we dont want 2 pythons 2024-10-05 03:57:25 -07:00
Nick Sweeting
db10a2142e remove extra files from repo root and move package.json into etc 2024-10-05 03:53:23 -07:00
Nick Sweeting
497d3e9c2d fix chrome trying to use novnc in docker when its not available 2024-10-04 22:29:32 -07:00
Nick Sweeting
ac96cc62fc fix CUSTOM_TEMPLATES_DIR loading 2024-10-04 21:40:36 -07:00
Nick Sweeting
d747cf7f31 fix SYSTEM_TMP_DIR and SYSTEM_LIB_DIR in docker 2024-10-04 21:03:02 -07:00
Nick Sweeting
6939edeaf6 generate global unique machine id on docker build 2024-10-04 14:47:57 -07:00
Nick Sweeting
396a7ffcd8 move tmp dir to machine-id scoped dir 2024-10-04 03:24:15 -07:00
Nick Sweeting
8336c997a1 bump python version to 3.12 in docker 2024-10-04 00:45:13 -07:00
Nick Sweeting
ed2d76af00 minor Dockerfile improvements 2024-10-04 00:16:03 -07:00
Nick Sweeting
152b530249 scope LIB_DIR by os, arch, and docker status 2024-10-04 00:08:44 -07:00
Nick Sweeting
2e3a2f459c add sonic to docker build 2024-10-04 00:08:18 -07:00
Nick Sweeting
c5da3c1f22 fix docker build 2024-10-03 18:24:27 -07:00
Nick Sweeting
490e5ba11d fallback to localhost if detecting dnsserver fails 2024-10-03 03:53:50 -07:00
Nick Sweeting
770e06960c change pdm to use 3.11 for locking 2024-09-06 03:49:10 -07:00
Nick Sweeting
c63917a22d fix more CHROME_USER_DATA_DIR issues 2024-06-03 02:51:11 -07:00
Nick Sweeting
c570674798 fix docker build 2024-06-03 01:13:17 -07:00
Nick Sweeting
1d9e7ec66a declare no-install-recommends at top of dockerfile and remove armv7 build steps 2024-04-25 21:35:09 -07:00
Nick Sweeting
11acc9ceea Add Dockerfile labels needed for depandabot and Docker Extension marketplace 2024-04-12 14:16:55 -07:00
Nick Sweeting
ac73fb5129 merge fixes 2024-03-26 15:22:40 -07:00
Nick Sweeting
8007e97c3f point archivebox to novnc display container by default 2024-03-18 14:41:57 -07:00
Nick Sweeting
3afd7b0cf0 add healthcheck to Dockerfile 2024-02-22 04:50:22 -08:00
Nick Sweeting
014c1e1dc7 remove dbus from docker setup, not actually needed 2024-01-11 19:02:34 -08:00
Nick Sweeting
eb2112e5b1 install and start dbus service to silence chrome headless errors 2024-01-11 17:26:26 -08:00
Nick Sweeting
a0c16ecae0 bump dependency versions 2024-01-02 17:10:29 -08:00