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
@ -84,9 +86,10 @@ UID | GID | Container | Notes
85 | 85 | mosquitto |
90 | 90 | jellyfin |
95 | 95 | shiori | Shiori bookmark system, built from source
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`.
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