mirror of
https://codeberg.org/hyperreal/containerfiles
synced 2024-11-25 03:33:42 +01:00
Update
This commit is contained in:
parent
c3d3b45d66
commit
cc08d51fa7
21
offlineimap/Containerfile
Normal file
21
offlineimap/Containerfile
Normal file
@ -0,0 +1,21 @@
|
||||
# Build the image:
|
||||
# podman build -t localhost/offlineimap:latest .
|
||||
#
|
||||
# Usage:
|
||||
# podman run -it --rm \
|
||||
# --name offlineimap \
|
||||
# -v ~/mail:/mail:Z \
|
||||
# -v ~/.offlineimap-metadata:/metadata:Z \
|
||||
# -v ~/.offlineimaprc:/.offlineimaprc:Z \
|
||||
# localhost/offlineimap
|
||||
|
||||
FROM fedora:latest
|
||||
LABEL maintainer "Jeffrey Serio <hyperreal@fedoraproject.org>"
|
||||
|
||||
RUN printf "fastestmirror=True\ndeltarpm=True\nmax_parallel_downloads=10\n" | tee -a /etc/dnf/dnf.conf \
|
||||
&& dnf install -y offlineimap python3-distro \
|
||||
&& dnf clean all \
|
||||
&& mkdir /{mail,metadata}
|
||||
|
||||
CMD ["/usr/bin/offlineimap", "-o", "-u", "basic", "-c", ".offlineimaprc"]
|
||||
|
Loading…
Reference in New Issue
Block a user