forked from Ivasoft/docker-tvheadend
adding pipeline logic and multi arching
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -7,6 +7,7 @@ ARG XMLTV_VER="0.5.69"
|
||||
|
||||
# environment settings
|
||||
ARG TZ="Europe/Oslo"
|
||||
ARG TVHEADEND_COMMIT
|
||||
ENV HOME="/config"
|
||||
|
||||
# copy patches
|
||||
@@ -29,6 +30,7 @@ RUN \
|
||||
gettext-dev \
|
||||
git \
|
||||
gzip \
|
||||
jq \
|
||||
libcurl \
|
||||
libdvbcsa-dev \
|
||||
libgcrypt-dev \
|
||||
@@ -144,7 +146,18 @@ RUN \
|
||||
|
||||
RUN \
|
||||
echo "**** compile tvheadend ****" && \
|
||||
git clone https://github.com/tvheadend/tvheadend.git /tmp/tvheadend && \
|
||||
if [ -z ${TVHEADEND_COMMIT+x} ]; then \
|
||||
TVHEADEND_COMMIT=$(curl -sX GET https://api.github.com/repos/tvheadend/tvheadend/commits/master \
|
||||
| jq -r '. | .sha'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/tvheadend.tar.gz -L \
|
||||
"https://github.com/tvheadend/tvheadend/archive/${TVHEADEND_COMMIT}.tar.gz" && \
|
||||
mkdir -p \
|
||||
/tmp/tvheadend && \
|
||||
tar xf \
|
||||
/tmp/tvheadend.tar.gz -C \
|
||||
/tmp/tvheadend/ --strip-components=1 && \
|
||||
cd /tmp/tvheadend && \
|
||||
./configure \
|
||||
`#Encoding` \
|
||||
|
||||
Reference in New Issue
Block a user