adding pipeline logic and multi arching

This commit is contained in:
thelamer
2019-01-16 01:51:19 -08:00
parent 6e0fc5e84c
commit a99f76a006
7 changed files with 1535 additions and 4 deletions

View File

@@ -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` \