forked from Ivasoft/docker-tvheadend
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bac8634898 | ||
|
|
ad949ef08c |
24
Dockerfile
24
Dockerfile
@@ -58,6 +58,10 @@ RUN \
|
|||||||
uriparser-dev \
|
uriparser-dev \
|
||||||
wget \
|
wget \
|
||||||
zlib-dev && \
|
zlib-dev && \
|
||||||
|
apk add --no-cache --virtual=build-dependencies \
|
||||||
|
--repository http://nl.alpinelinux.org/alpine/edge/testing \
|
||||||
|
gnu-libiconv-dev && \
|
||||||
|
|
||||||
|
|
||||||
# add runtime dependencies required in build stage
|
# add runtime dependencies required in build stage
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
@@ -131,23 +135,6 @@ RUN \
|
|||||||
curl -L http://cpanmin.us | perl - App::cpanminus && \
|
curl -L http://cpanmin.us | perl - App::cpanminus && \
|
||||||
cpanm --installdeps /tmp/patches && \
|
cpanm --installdeps /tmp/patches && \
|
||||||
|
|
||||||
# build libiconv
|
|
||||||
mkdir -p \
|
|
||||||
/tmp/iconv-src && \
|
|
||||||
curl -o \
|
|
||||||
/tmp/iconv.tar.gz -L \
|
|
||||||
ftp://www.mirrorservice.org/sites/ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz && \
|
|
||||||
tar xf /tmp/iconv.tar.gz -C \
|
|
||||||
/tmp/iconv-src --strip-components=1 && \
|
|
||||||
cd /tmp/iconv-src && \
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr/local && \
|
|
||||||
patch -p1 -i \
|
|
||||||
/tmp/patches/libiconv-1-fixes.patch && \
|
|
||||||
make && \
|
|
||||||
make install && \
|
|
||||||
libtool --finish /usr/local/lib && \
|
|
||||||
|
|
||||||
# build dvb-apps
|
# build dvb-apps
|
||||||
hg clone http://linuxtv.org/hg/dvb-apps /tmp/dvb-apps && \
|
hg clone http://linuxtv.org/hg/dvb-apps /tmp/dvb-apps && \
|
||||||
cd /tmp/dvb-apps && \
|
cd /tmp/dvb-apps && \
|
||||||
@@ -221,6 +208,9 @@ RUN \
|
|||||||
libhdhomerun-libs \
|
libhdhomerun-libs \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
libxslt && \
|
libxslt && \
|
||||||
|
apk add --no-cache \
|
||||||
|
--repository http://nl.alpinelinux.org/alpine/edge/testing \
|
||||||
|
gnu-libiconv && \
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
apk del --purge \
|
apk del --purge \
|
||||||
|
|||||||
@@ -151,6 +151,7 @@ You need to enable minimum advanced view level to see the picons options.
|
|||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
+ **18.04.2017:** Use repo version of gnu-libiconv rather than compiling.
|
||||||
+ **09.04.2017:** Chain cpanm installs in one block and use --installdeps.
|
+ **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.
|
+ **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.
|
+ **07.02.2017:** Add variable to add additional runtime paramters.
|
||||||
|
|||||||
Reference in New Issue
Block a user