You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
FROM python:alpine
|
|
|
|
RUN apk add --update \
|
|
fetchmail \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
COPY fetchmail.py /fetchmail.py
|
|
|
|
RUN mkdir /var/spool/mail \
|
|
&& chown mail: /var/spool/mail
|
|
USER mail
|
|
|
|
CMD ["/fetchmail.py"]
|