archivebox: write simple dockerfile

This commit is contained in:
Starbeamrainbowlabs 2021-06-27 12:30:32 +01:00
parent 28809586e7
commit 0743a00c10
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
3 changed files with 20 additions and 3 deletions

View file

@ -72,6 +72,8 @@ Image | Purpose
`redis` | Dockerised [redis](https://redis.io/), installs the latest stable version
`shiori` | Dockerised [shiori](https://github.com/go-shiori/shiori), built from source
`imap-download` | Fetchmail, procmail, inotifywait, and munpack working together to download emails and extract attachments. The provided fetchmailrc must be owned by `10000:10000`.
`archivebox` | Dockerised [ArchiveBox](https://archivebox.io/)
## Docker container UID/GID map
@ -87,6 +89,7 @@ UID | GID | Container | Notes
999 | 994 | certbot | The same user & group as fabio, because file permissions
2100 | 2100 | redis |
0 | 0 | imap-download | Uses fetchmail to download emails and extract attachments. The provided fetchmailrc must be owned by `10000:10000`, and be chmodded to `0700`.
10200 | 10200 | archivebox |
## Development Notes

View file

@ -0,0 +1,13 @@
ARG REPO_LOCATION
# ARG BASE_VERSION
FROM ${REPO_LOCATION}minideb
RUN install_packages python3 python3-pip \
&& pip3 install archivebox \
&& pip3 cache purge
USER 10200:10200
WORKDIR /srv
ENTRYPOINT archivebox server

View file

@ -0,0 +1 @@
docker