archivebox: write simple dockerfile
This commit is contained in:
parent
28809586e7
commit
0743a00c10
3 changed files with 20 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
13
images/archivebox/Dockerfile
Normal file
13
images/archivebox/Dockerfile
Normal 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
|
1
images/archivebox/type.txt
Normal file
1
images/archivebox/type.txt
Normal file
|
@ -0,0 +1 @@
|
|||
docker
|
Loading…
Reference in a new issue