ADD front as Server

This commit is contained in:
sebastian.serfling
2024-08-29 12:47:29 +02:00
parent cafee6032c
commit 5b236148c2
7 changed files with 140 additions and 16 deletions
+11 -4
View File
@@ -3,12 +3,19 @@ FROM debian:latest
RUN apt update
RUN apt upgrade -y
RUN apt install -y git make gcc
RUN apt install -y apt-file cpanminus libc6-dev libssl-dev python3 python3-pip python3-csv
RUN apt install -y apt-file cpanminus libc6-dev libssl-dev python3 python3-pip
RUN apt install -y libperl-dev zlib1g-dev libnet-ssleay-perl
RUN cpanm App::cpanminus Authen::NTLM CGI Compress::Zlib Crypt::OpenSSL::RSA Data::Dumper Data::Uniqid Dist::CheckConflicts Encode Encode::IMAPUTF7 File::Copy::Recursive File::Tail IO::Socket::INET IO::Socket::INET6 IO::Socket::SSL IO::Tee JSON JSON::WebToken LWP::UserAgent Mail::IMAPClient Module::ScanDeps PAR::Packer Pod::Usage Readonly Regexp::Common Sys::MemInfo Term::ReadKey Test::MockObject Test::More Test::Pod Unicode::String
RUN cd /usr/local/src
RUN cpanm App::cpanminus Authen::NTLM CGI Compress::Zlib Crypt::OpenSSL::RSA Data::Dumper Data::Uniqid Dist::CheckConflicts Encode Encode::IMAPUTF7 File::Copy::Recursive File::Tail IO::Socket::INET IO::Socket::INET6 IO::Socket::SSL IO::Tee JSON JSON::WebToken LWP::UserAgent Mail::IMAPClient Module::ScanDeps PAR::Packer Pod::Usage Readonly Regexp::Common Sys::MemInfo Term::ReadKey Test::MockObject Test::More Test::Pod Unicode::String; exit 0
RUN apt install -y libproc-processtable-perl python3-requests
WORKDIR /usr/local/src
RUN echo PWD
RUN git clone https://github.com/imapsync/imapsync.git
RUN cd imapsync
WORKDIR ./imapsync
RUN make install
RUN mkdir /app
WORKDIR /app/
RUN git clone https://gitlab.stines.de/sebastian.serfling/IMAP-Sync.git .
CMD ["/bin/bash"]
#RUN impasync-script