Untitled
unknown
dockerfile
2 years ago
1.8 kB
5
Indexable
FROM python:3.8 WORKDIR /app RUN apt update RUN apt install php-cli php-imap vim wget software-properties-common netools traceroute telnet -y RUN wget https://raw.githubusercontent.com/simonrob/email-oauth2-proxy/main/requirements-no-gui.txt -O /tmp/requirements-no-gui.txt RUN pip3 install -r /tmp/requirements-no-gui.txt RUN apt-get install -y libauthen-ntlm-perl libclass-load-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libdata-uniqid-perl libdigest-hmac-perl libdist-checkconflicts-perl libencode-imaputf7-perl libfile-copy-recursive-perl libfile-tail-perl libio-compress-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libjson-webtoken-perl libmail-imapclient-perl libmodule-scandeps-perl libnet-dbus-perl libnet-ssleay-perl libpar-packer-perl libproc-processtable-perl libreadonly-perl libregexp-common-perl libsys-meminfo-perl libterm-readkey-perl libtest-fatal-perl libtest-mock-guard-perl libtest-mockobject-perl libtest-pod-perl libtest-requires-perl libtest-simple-perl libunicode-string-perl liburi-perl libtest-nowarnings-perl libtest-deep-perl libtest-warn-perl make time cpanminus RUN cpanm Mail::IMAPClient RUN set -xe && cd /usr/bin/ && pwd && wget -N --no-check-certificate https://imapsync.lamiral.info/imapsync && chmod +x imapsync RUN set -xe && cd /usr/bin/ && pwd && wget -N --no-check-certificate https://raw.githubusercontent.com/simonrob/email-oauth2-proxy/main/emailproxy.py && chmod +x emailproxy.py CMD ["python3", "/usr/bin/emailproxy.py", "--no-gui", "--config-file=/app/emailproxy.config"]
Editor is loading...