cpan RUN divided into several RUNs (one per module) for easier debugging

tmp
rysiek 2017-02-23 14:01:59 +01:00
parent 404cf5dad7
commit 3fe1008cc3
1 changed files with 14 additions and 1 deletions

View File

@ -9,7 +9,20 @@ ENV KUVERT_GID 1000
ENV KUVERT_HOME /home/kuvert
# install the needed CPAN modules
RUN cpan -i MIME::Parser Mail::Address Net::SMTPS Sys::Hostname Net::Server::Mail Authen::SASL IO::Socket::INET Filehandle File::Slurp File::Temp Fcntl Time::HiRes
# divided into separate RUN commands for easier debugging
# (cpan's output does not lend itself to debugging very well...)
RUN cpan -i MIME::Parser
RUN cpan -i Mail::Address
RUN cpan -i Net::SMTPS
RUN cpan -i Sys::Hostname
RUN cpan -i Net::Server::Mail
RUN cpan -i Authen::SASL
RUN cpan -i IO::Socket::INET
RUN cpan -i FileHandle
RUN cpan -i File::Slurp
RUN cpan -i File::Temp
RUN cpan -i Fcntl
RUN cpan -i Time::HiRes
COPY ./ /usr/local/src/kuvert/
RUN cd /usr/local/src/kuvert/ && \