Nick Sweeting
da80a41afb
use bookworm-backports for everything
2023-10-31 03:11:53 -07:00
Nick Sweeting
47d9161168
fix Dockerfile
2023-10-31 03:06:02 -07:00
Nick Sweeting
aabc89d6a7
add requirements.txt
2023-10-31 01:06:57 -07:00
Nick Sweeting
f0d51c377b
attempt fix for python build
2023-10-31 01:05:39 -07:00
Nick Sweeting
214016d8a1
fix broken arg
2023-10-31 00:31:14 -07:00
Nick Sweeting
b87af19235
use pdm sync instead of pdm install in docker
2023-10-31 00:30:27 -07:00
Nick Sweeting
479a6f44ea
dont install site packages as editable
2023-10-31 00:27:31 -07:00
Nick Sweeting
32e363848e
install all optionall dependencies in docker
2023-10-31 00:00:09 -07:00
Nick Sweeting
1bfbf5e9c3
add pip packages build step
2023-10-30 23:58:13 -07:00
Nick Sweeting
a677ef7113
fix conditional on architecture
2023-10-30 23:34:26 -07:00
Nick Sweeting
6b35c30e17
fix armv7 build for Docker and bare metal
2023-10-30 23:25:51 -07:00
c01o
08cffb8742
Fix docker build
...
Lack of `fi` resulted in a syntax error.
Also, change `;` to `||` to ensure it builds successfully on architectures other than `linux/arm/v7`.
```
[2023-10-24T10:46:49.941Z] ------
> [dev_container_auto_added_stage_label 11/18] RUN mkdir -p "/home/archivebox/.config/chromium/Crash Reports/pending/" && chown -R archivebox "/home/archivebox/.config" ; if [[ "linux/amd64" == "linux/arm/v7" ]]; then $exit 0; else exit 1:
0.401 /bin/bash: -c: line 2: syntax error: unexpected end of file
------
WARNING: buildx: git was not found in the system. Current commit information was not captured by the build
[2023-10-24T10:46:49.942Z] Dockerfile-with-features:135
--------------------
134 | && ln -s "$CHROME_BINARY" /usr/bin/chromium-browser
135 | >>> RUN mkdir -p "/home/${ARCHIVEBOX_USER}/.config/chromium/Crash Reports/pending/" \
136 | >>> && chown -R $ARCHIVEBOX_USER "/home/${ARCHIVEBOX_USER}/.config" \
137 | >>> ; if [[ "$TARGETPLATFORM" == "linux/arm/v7" ]]; then $exit 0; else exit 1
138 | # ignore failure for architectures where no playwright release is available yet
--------------------
ERROR: failed to solve: process "/bin/bash -c mkdir -p \"/home/${ARCHIVEBOX_USER}/.config/chromium/Crash Reports/pending/\" && chown -R $ARCHIVEBOX_USER \"/home/${ARCHIVEBOX_USER}/.config\" ; if [[ \"$TARGETPLATFORM\" == \"linux/arm/v7\" ]]; then $exit 0; else exit 1" did not complete successfully: exit code: 2
```
2023-10-24 19:58:23 +09:00
Nick Sweeting
2681f752f1
ignore playwright chrome install on arm v7
2023-10-21 14:17:50 -07:00
Nick Sweeting
2928c19119
fix multiarch chromium install
2023-10-20 05:45:08 -07:00
Nick Sweeting
988b6585c9
better multiarch builds
2023-10-20 05:30:45 -07:00
Nick Sweeting
015737b1e4
fix buildx helper script
2023-10-20 05:10:03 -07:00
Nick Sweeting
bf7a6e4c09
add missing cpython packages needed for arm v8 docker build
2023-10-20 04:33:26 -07:00
Nick Sweeting
76f9b91ed3
dockerfile fixes
2023-10-20 04:08:38 -07:00
Nick Sweeting
6736e63ef0
new Dockerfile layout with better layering
2023-10-20 02:47:34 -07:00
root
23f086aa40
add LDAP support
2023-08-17 19:51:02 -05:00
Micah R Ledbetter
3edb319ba9
Set /app permissions in the Dockerfile
...
Add a note in readme to be careful of permissions with --reload
2023-05-05 23:47:02 -05:00
Nick Sweeting
f94e8cd9b2
bump docker base image version and node version
2023-03-13 10:49:02 +00:00
Joseph Turian
07de4a79a1
Merge branch 'dev' into feature/kludge-984-UTF8-bug
2022-12-20 11:39:01 +01:00
Joseph Turian
f5f7aff3b4
Added yt-dlp everywhere
2022-09-12 20:34:02 +00:00
Joseph Turian
35a052ae8b
Another comment
2022-09-11 22:13:22 +02:00
Joseph Turian
cc56785695
Added standalone dockerfile instructions
2022-09-11 22:11:13 +02:00
Nick Sweeting
c5ccb05d4a
update Dockerfile buildx instructions to exclude intel/386
2022-04-21 07:35:34 -07:00
Nick Sweeting
ed9ef588d9
add instructions for multi-arch build at top of Dockerfile
2022-04-21 07:29:27 -07:00
Nick Sweeting
57df65f28f
use yt-dlp for media archiving instead of youtube-dl
2022-04-21 07:11:35 -07:00
Nick Sweeting
eb81d41f84
bump Dockerfile base image version and install yt-dlp
2022-04-21 07:11:35 -07:00
Nick Sweeting
b40a1e19d1
comment out healthcheck
2021-12-02 21:03:19 -05:00
Nick Sweeting
0a09bdb2ca
create archivebox dir in code dir manually
2021-04-23 16:12:25 -04:00
Nick Sweeting
2fc9f1cfa3
dont depend on README in Dockerfile install step
2021-04-05 23:17:07 -04:00
Nick Sweeting
6aef1dd98d
dont check db if init is pending
2021-02-28 22:53:23 -05:00
Nick Sweeting
05dbb1c160
add healthcheck to dockerfile
2021-02-17 18:24:38 -05:00
Nick Sweeting
908262b133
add dev dependencies install commented out in Dockerfile
2021-02-16 15:55:47 -05:00
Nick Sweeting
e61e12c889
use setup.py to determine dependencies in Dockerfile instead of egg-info requires.txt
2021-02-15 14:51:32 -05:00
Nick Sweeting
b90afc8c04
nodesource apt repo not supported on i386
2021-02-01 06:05:12 -05:00
Nick Sweeting
7e7ffcac18
bump pip and node versions
2021-02-01 05:45:21 -05:00
Nick Sweeting
6ab3cd2a66
push all tags
2021-02-01 05:38:13 -05:00
Nick Sweeting
9784dcb816
better config comments and docstrings
2020-12-20 03:11:19 +02:00
jdcaballerov
da5a8775cb
Add sonic client dependency
2020-12-07 15:36:56 -05:00
JDC
95382b3812
Add ripgrep rg search backend and set as default
2020-12-06 01:13:39 +02:00
Nick Sweeting
354fafe8b3
bump npm and python version in image
2020-11-28 05:24:49 -05:00
Nick Sweeting
8f7806dfc9
move all pip build artifacts into pip_dist submodule
2020-11-28 03:43:59 -05:00
Nick Sweeting
1b22f8eeef
Merge pull request #515 from cdvv7788/POC-setup-django-on-init
2020-11-27 23:56:37 -05:00
Nick Sweeting
0e2ccbc10d
update urls to new repo path
2020-11-23 02:06:46 -05:00
Cristian
f6ce1de882
fix: archivebox version was being called as root
2020-10-27 09:15:14 -05:00
ttimasdf
f722ed331d
add environmental variable for mercury-parser
2020-09-22 18:44:12 -05:00
Angel Rey
31944c8f0c
Added npm ci
2020-09-08 17:12:55 -05:00
Nick Sweeting
235eb20dbd
support cron in docker
2020-08-18 01:59:04 -04:00
Nick Sweeting
26022fc9fb
autocommit docs during release
2020-08-15 01:22:29 -04:00
Nick Sweeting
09b624f120
didnt realize grep supported negative indexes
2020-08-14 23:46:07 -04:00
Nick Sweeting
bdd111d548
you can always mount it manually with cli args
2020-08-14 23:38:47 -04:00
Nick Sweeting
050b717bb9
Merge branch 'master' into readability-extractor
2020-08-14 12:35:35 -04:00
Nick Sweeting
abfce2a210
remove uneeded dependencies
2020-08-14 00:14:25 -04:00
Nick Sweeting
c37b58f100
remove python-dev after build process
2020-08-13 23:55:02 -04:00
Nick Sweeting
fedbfda668
add missing yes flag
2020-08-13 23:43:02 -04:00
Nick Sweeting
ffcb8ffdd4
autoremove uneeded after install
2020-08-13 23:40:04 -04:00
Nick Sweeting
7e1b0d30b7
install compiler only during dependency setup
2020-08-13 23:36:29 -04:00
Nick Sweeting
e7948cf161
install node dependencies from package.json
2020-08-13 23:21:15 -04:00
root
f9c617e4aa
arm support for docker
2020-08-13 19:15:47 -04:00
Cristian
89775ae416
feat: Enable singlefile and readability in docker by default
2020-08-12 15:35:21 -05:00
Cristian
5dc7e63792
feat: Update dockerfile to support readability
2020-08-11 11:52:43 -05:00
Nick Sweeting
33ab7fd4ec
autodetect when running inside docker and provide hints
2020-08-10 14:18:04 -04:00
Cristian
e2c4e6fff9
refactor: Dockerfile uses env to point to the singlefile binary instead of adding it to a path folder
2020-08-04 11:50:01 -05:00
Cristian
06d0e9de6c
feat: Add support for singlefile in docker
2020-08-03 13:23:05 -05:00
Nick Sweeting
e68f6aaa76
check for login page in github ci
2020-07-28 00:53:50 -04:00
Nick Sweeting
6b7dfa773e
minor docker process tweaks
2020-07-22 01:30:58 -04:00
Angel Rey
63909f6176
Added entrypoint to fix permission errors
2020-07-16 13:08:58 -05:00
Cristian
960c92d6d3
fix: Create user home to avoid warning
2020-07-09 10:35:33 -05:00
Nick Sweeting
cb67b09f9d
Merge branch 'master' into django
2020-06-25 21:30:29 -04:00
Nick Sweeting
e2a5e0136c
update docker setup and dependencies
2020-06-25 17:46:11 -04:00
Nick Sweeting
6c4c6862e2
change to volume mount style
2020-05-18 16:55:39 -04:00
Nick Sweeting
930688820b
change to volume mount style
2020-05-18 16:54:58 -04:00
Martin M. S. Pedersen
60c6adf7f5
Fix example in Dockerfile. The source for a mount must be absolute.
2020-05-15 10:01:35 +02:00
Nick Sweeting
3939f9ec7d
add docker venv
2020-04-22 21:13:49 -04:00
Nick Sweeting
4bf5a04b2c
Update Dockerfile
2019-07-09 13:05:51 -04:00
Bruno Tavares
e9f9c1ec5d
Copy project into image instead of cloning
...
Docker `RUN` statements cache based on the text of the command executed,
not the content of what it does to the image.
Since the command was cloning the project, and the text didn't change,
building the image would not update the code if the image was already
cached. This lead to a stale Docker image distributed on Docker Hub.
This could also cause some confusion, as modified code would not show up
on the image during the build process.
This commit changes the build process to copy the content of the project
into the image. Whenever a file changes it will trigger a new updated
image.
2019-04-11 22:43:52 -03:00
Nick Sweeting
68d1eb0389
change chromium to google-chrome
2019-03-30 17:40:55 -04:00
Nick Sweeting
307193c3ea
add zlib support to wget in Docker
2019-03-30 17:35:25 -04:00
Raman Gupta
5417aba1ca
Updated CMD
2019-03-03 16:37:13 -05:00
Raman Gupta
5a55b9540e
Updated symlink to correct src and target
2019-03-03 16:36:31 -05:00
Raman Gupta
3c934c2708
Changed CMD point to reference proper target
2019-03-02 13:32:48 -05:00
Raman Gupta
8d48b4f8df
Update Dockerfile
2019-03-02 13:25:52 -05:00
Raman Gupta
99e4622185
Remove redundant linking since repo includes link
2019-03-02 12:36:03 -05:00
Raman Gupta
5b5a602c8a
test skipping Puppeteer's Chromium download
2019-03-02 11:58:20 -05:00
Nick Sweeting
0245a565bd
Add docs links to dockerfile
2019-02-28 14:04:37 -05:00
Nick Sweeting
44ed46b465
link all bins instead of just archivebox
2019-02-26 21:09:38 -05:00
Nick Sweeting
6a46e54282
bump node image to latest version
2019-01-26 15:09:58 -08:00
Nick Sweeting
e1be96e597
working docker-compose with google chrome
2019-01-23 01:08:23 -05:00
Nick Sweeting
ea905d68bb
fix etc nginx and Docker config
2019-01-16 09:20:15 -05:00
Nick Sweeting
d24724ed79
Update Dockerfile
2019-01-16 08:05:01 -05:00
Nick Sweeting
57d42339a4
rename pip dir archive to archivebox
2018-12-31 20:53:01 -05:00
Aaron Fischer
f427f6ad54
Propagate the new name of the project
...
Replace all occurences of bookmark archiver with ArchiveBox.
See #108
2018-12-20 16:13:55 +01:00
Nick Sweeting
b1a47d775b
add sample nginx config
2018-10-13 22:47:30 -04:00