1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/optional/fetchmail/Dockerfile

18 lines
353 B
Docker
Raw Normal View History

ARG DISTRO=alpine:3.12
FROM $DISTRO
# python3 shared with most images
RUN apk add --no-cache \
python3 py3-pip bash \
&& 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"]