1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-04-25 12:15:02 +02:00
Mailu/optional/fetchmail/Dockerfile

20 lines
378 B
Docker
Raw Normal View History

2021-09-01 18:56:44 +02:00
ARG DISTRO=alpine:3.14.2
FROM $DISTRO
2021-11-04 14:22:12 +01:00
ENV TZ Etc/UTC
# python3 shared with most images
RUN apk add --no-cache \
2021-11-02 11:19:42 +01:00
python3 py3-pip bash tzdata \
&& pip3 install --upgrade pip
# Image specific layers under this line
RUN apk add --no-cache fetchmail ca-certificates openssl \
&& pip3 install requests
2016-04-28 20:07:38 +02:00
COPY fetchmail.py /fetchmail.py
USER fetchmail
2016-04-28 20:07:38 +02:00
CMD ["/fetchmail.py"]