You've already forked postfixadmin-fetchmail-docker
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM docker.io/library/alpine:3.11.2
|
||||
|
||||
RUN echo "http://dl-3.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories
|
||||
RUN apk add --update perl perl-lockfile-simple perl-dbi perl-dbd-pg perl-dbd-mysql fetchmail
|
||||
RUN mkdir --parents /run/fetchmail
|
||||
|
||||
COPY --chown=fetchmail:fetchmail fetchmail.pl /usr/local/bin/fetchmail.pl
|
||||
|
||||
USER fetchmail
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/perl" ]
|
||||
CMD [ "/usr/local/bin/fetchmail.pl" ]
|
Reference in New Issue
Block a user