Просмотр исходного кода

use one block and --installdeps for cpanm packages

sparklyballs 9 лет назад
Родитель
Сommit
65581f19fd
2 измененных файлов с 22 добавлено и 20 удалено
  1. 21 20
      Dockerfile
  2. 1 0
      README.md

+ 21 - 20
Dockerfile

@@ -132,27 +132,28 @@ RUN \
  make install && \
  libtool --finish /usr/local/lib && \
 
-# install perl modules
+# install perl modules for xmltv
  curl -L http://cpanmin.us | perl - App::cpanminus && \
- cpanm DateTime::Format::ISO8601 && \
- cpanm DateTime::Format::SQLite && \
- cpanm Encode && \
- cpanm File::HomeDir && \
- cpanm File::Path && \
- cpanm HTML::Entities && \
- cpanm HTML::TableExtract && \
- cpanm inc && \
- cpanm JSON::PP && \
- cpanm LWP::Simple && \
- cpanm LWP::UserAgent && \
- cpanm PerlIO::gzip && \
- cpanm SOAP::Lite && \
- cpanm Storable && \
- cpanm Unicode::UTF8simple && \
- cpanm version && \
- cpanm WWW::Mechanize && \
- cpanm XML::DOM && \
- cpanm HTTP::Cache::Transparent && \
+ cpanm --installdeps \
+	DateTime::Format::ISO8601 \
+	DateTime::Format::SQLite \
+	Encode \
+	File::HomeDir \
+	File::Path \
+	HTML::Entities \
+	HTML::TableExtract \
+	HTTP::Cache::Transparent \
+	inc \
+	JSON::PP \
+	LWP::Simple \
+	LWP::UserAgent \
+	PerlIO::gzip \
+	SOAP::Lite \
+	Storable \
+	Unicode::UTF8simple \
+	version \
+	WWW::Mechanize \
+	XML::DOM && \
 
 # build dvb-apps
  hg clone http://linuxtv.org/hg/dvb-apps /tmp/dvb-apps && \

+ 1 - 0
README.md

@@ -141,6 +141,7 @@ You need to enable minimum advanced view level to see the picons options.
 
 ## Versions
 
++ **09.04.2017:** Chain cpanm installs in one block and use --installdeps.
 + **09.02.2017:** Perl changes, add picons file to gitignore and update XMLTV to 0.5.69.
 + **07.02.2017:** Add variable to add additional runtime paramters.
 + **05.02.2017:** Update to Alpine 3.5, compile only dvb-apps libs and add indentation patch for tvheadend from alpine git. Removed ls -la left over from testing.