2019-07-03 01:20:46 +02:00
|
|
|
## Dockerfile for building a docker imapsync image
|
|
|
|
|
2020-12-28 00:41:03 +01:00
|
|
|
# $Id: Dockerfile,v 1.30 2020/03/26 07:15:04 gilles Exp gilles $
|
2019-07-03 01:20:46 +02:00
|
|
|
# I use the following command to build the image:
|
|
|
|
#
|
2020-12-28 00:41:03 +01:00
|
|
|
# docker build -t gilleslamiral/imapsync .
|
2019-07-03 01:20:46 +02:00
|
|
|
#
|
|
|
|
# where this Dockerfile is in the current directory
|
2020-12-28 00:41:03 +01:00
|
|
|
#
|
|
|
|
# I thank you very much
|
2019-07-03 01:20:46 +02:00
|
|
|
# I like thanks
|
|
|
|
# I like stars
|
|
|
|
# I also like (and need) money
|
|
|
|
|
2020-12-28 00:41:03 +01:00
|
|
|
# Number of imapsync images pulled so far (2020_03_26): 84354
|
2020-04-11 01:15:57 +02:00
|
|
|
# Command used:
|
|
|
|
# curl -s https://hub.docker.com/v2/repositories/gilleslamiral/imapsync/ | jq '.pull_count'
|
2019-07-03 01:20:46 +02:00
|
|
|
|
2020-12-28 00:41:03 +01:00
|
|
|
# Ubuntu latest points to current LTS release
|
2019-07-03 01:20:46 +02:00
|
|
|
|
2020-12-28 09:50:43 +01:00
|
|
|
FROM debian:buster
|
2020-04-11 01:15:57 +02:00
|
|
|
|
|
|
|
LABEL maintainer="Gilles LAMIRAL <gilles@lamiral.info>" \
|
|
|
|
description="Imapsync" \
|
|
|
|
documentation="https://imapsync.lamiral.info/#doc"
|
2019-07-03 01:20:46 +02:00
|
|
|
|
2020-12-28 09:50:43 +01:00
|
|
|
RUN set -xe && \
|
|
|
|
apt-get update && \
|
|
|
|
apt-get install -y \
|
|
|
|
libauthen-ntlm-perl \
|
|
|
|
libcgi-pm-perl \
|
|
|
|
libcrypt-openssl-rsa-perl \
|
|
|
|
libdata-uniqid-perl \
|
|
|
|
libencode-imaputf7-perl \
|
|
|
|
libfile-copy-recursive-perl \
|
|
|
|
libfile-tail-perl \
|
|
|
|
libio-socket-inet6-perl \
|
|
|
|
libio-socket-ssl-perl \
|
|
|
|
libio-tee-perl \
|
|
|
|
libhtml-parser-perl \
|
|
|
|
libjson-webtoken-perl \
|
|
|
|
libmail-imapclient-perl \
|
|
|
|
libparse-recdescent-perl \
|
|
|
|
libmodule-scandeps-perl \
|
|
|
|
libreadonly-perl \
|
|
|
|
libregexp-common-perl \
|
|
|
|
libsys-meminfo-perl \
|
|
|
|
libterm-readkey-perl \
|
|
|
|
libtest-mockobject-perl \
|
|
|
|
libtest-pod-perl \
|
|
|
|
libunicode-string-perl \
|
|
|
|
liburi-perl \
|
|
|
|
libwww-perl \
|
|
|
|
libtest-nowarnings-perl \
|
|
|
|
libtest-deep-perl \
|
|
|
|
libtest-warn-perl \
|
|
|
|
make \
|
|
|
|
cpanminus \
|
2020-12-28 00:41:03 +01:00
|
|
|
wget
|
|
|
|
|
|
|
|
RUN wget -N https://imapsync.lamiral.info/imapsync && \
|
2020-12-28 09:50:43 +01:00
|
|
|
mv imapsync /usr/bin/imapsync && \
|
2020-12-28 00:41:03 +01:00
|
|
|
chmod +x /usr/bin/imapsync
|
2020-04-11 01:15:57 +02:00
|
|
|
|
|
|
|
USER nobody:nogroup
|
2019-07-03 01:20:46 +02:00
|
|
|
|
|
|
|
ENV HOME /var/tmp/
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
WORKDIR /var/tmp/
|
|
|
|
|
|
|
|
STOPSIGNAL SIGINT
|
|
|
|
|
2019-07-03 01:20:46 +02:00
|
|
|
CMD ["/usr/bin/imapsync"]
|
|
|
|
|
2020-12-28 00:41:03 +01:00
|
|
|
#
|
|
|
|
# End of imapsync Dockerfile
|