-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile
18 lines (14 loc) · 862 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM debian:bullseye
RUN apt-get update && apt-get -y upgrade && \
apt-get -y install git libauthen-ntlm-perl libcrypt-ssleay-perl \
libdigest-hmac-perl libfile-copy-recursive-perl libio-compress-perl \
libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libmodule-scandeps-perl \
libnet-ssleay-perl libpar-packer-perl libterm-readkey-perl libtest-pod-perl \
libtest-simple-perl libunicode-string-perl liburi-perl cpanminus build-essential \
procps libfile-tail-perl libregexp-common-perl lsb-release
RUN cd /opt && git clone https://github.com/imapsync/imapsync.git
RUN cpanm Authen::NTLM Data::Uniqid File::Copy::Recursive IO::Tee \
Mail::IMAPClient Unicode::String Encode::IMAPUTF7 Sys::MemInfo
ADD imapsync.sh /usr/local/bin/imapsync.sh
RUN chmod +x /usr/local/bin/imapsync.sh
CMD ["/usr/local/bin/imapsync.sh"]