summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał 'rysiek' Woźniak <rysiek@hackerspace.pl>2017-02-23 14:56:09 +0100
committerMichał 'rysiek' Woźniak <rysiek@hackerspace.pl>2017-02-23 14:56:09 +0100
commitb094e01261a27c53acbabc7994684df5fd7fb2ed (patch)
tree4df1dc5bab89758fb29bbfab4154c6f30365f712
parent3fe1008cc36c727d7c627b78e7c82c80f20c1ea2 (diff)
downloadkuvert-b094e01261a27c53acbabc7994684df5fd7fb2ed.tar.gz
kuvert-b094e01261a27c53acbabc7994684df5fd7fb2ed.tar.bz2
kuvert-b094e01261a27c53acbabc7994684df5fd7fb2ed.zip
we need to be explicit about the perl and cpan version used
-rw-r--r--Dockerfile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile
index 54c6348..1df7476 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,18 +11,18 @@ ENV KUVERT_HOME /home/kuvert
# install the needed CPAN modules
# 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
+RUN /usr/bin/cpan -i MIME::Parser
+RUN /usr/bin/cpan -i Mail::Address
+RUN /usr/bin/cpan -i Net::SMTPS
+RUN /usr/bin/cpan -i Sys::Hostname
+RUN /usr/bin/cpan -i Net::Server::Mail
+RUN /usr/bin/cpan -i Authen::SASL
+RUN /usr/bin/cpan -i IO::Socket::INET
+RUN /usr/bin/cpan -i FileHandle
+RUN /usr/bin/cpan -i File::Slurp
+RUN /usr/bin/cpan -i File::Temp
+RUN /usr/bin/cpan -i Fcntl
+RUN /usr/bin/cpan -i Time::HiRes
COPY ./ /usr/local/src/kuvert/
RUN cd /usr/local/src/kuvert/ && \