#72 fix chowning (#125)

* #72 only chown once using new logic, rebase to alpine 3.9, increase make threads now that arm boxes are single threaded

* typo
This commit is contained in:
Ryan Kuba
2019-03-28 15:02:54 +08:00
committed by saarg
parent 753d0bbe38
commit 9d64ee4636
6 changed files with 52 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
FROM lsiobase/alpine:3.8 as buildstage
FROM lsiobase/alpine:3.9 as buildstage
############## build stage ##############
# package versions
@@ -137,7 +137,7 @@ RUN \
sed "s/\(lib\/Ask\/Term.pm';\)/.\/\1/" -i Makefile.PL && \
PERL5LIB=`pwd` && \
echo -e "yes" | perl Makefile.PL PREFIX=/usr/ INSTALLDIRS=vendor && \
make && \
make -j 2 && \
make test && \
make DESTDIR=/tmp/xmltv-build install
@@ -184,7 +184,7 @@ RUN \
--mandir=/usr/share/man \
--prefix=/usr \
--sysconfdir=/config && \
make && \
make -j 2 && \
make DESTDIR=/tmp/tvheadend-build install
RUN \
@@ -202,7 +202,7 @@ RUN \
cd /tmp/argtable && \
./configure \
--prefix=/usr && \
make && \
make -j 2 && \
make check && \
make DESTDIR=/tmp/argtable-build install && \
echo "**** copy to /usr for comskip dependency ****" && \
@@ -216,11 +216,11 @@ RUN \
./configure \
--bindir=/usr/bin \
--sysconfdir=/config/comskip && \
make && \
make -j 2 && \
make DESTDIR=/tmp/comskip-build install
############## runtime stage ##############
FROM lsiobase/alpine:3.8
FROM lsiobase/alpine:3.9
# set version label
ARG BUILD_DATE
@@ -240,11 +240,11 @@ RUN \
ffmpeg \
ffmpeg-libs \
gzip \
libcrypto1.0 \
libcrypto1.1 \
libcurl \
libdvbcsa \
libhdhomerun-libs \
libssl1.0 \
libssl1.1 \
libva \
libva-intel-driver \
libvpx \