From 609d004130a4bb6c30ccaa17eb842963f5a2f3e7 Mon Sep 17 00:00:00 2001 From: aptalca Date: Fri, 19 Aug 2022 16:05:19 -0400 Subject: [PATCH] switch to new picons builder --- Dockerfile | 13 +++++++------ Dockerfile.aarch64 | 13 +++++++------ Dockerfile.armhf | 13 +++++++------ README.md | 1 + readme-vars.yml | 1 + 5 files changed, 23 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab4c751..576d499 100644 --- a/Dockerfile +++ b/Dockerfile @@ -218,6 +218,11 @@ RUN \ make -j 2 && \ make DESTDIR=/tmp/comskip-build install +############## picons stage ############## +# built by https://github.com/linuxserver/picons-builder +FROM ghcr.io/linuxserver/picons-builder as piconsstage + + ############## runtime stage ############## FROM ghcr.io/linuxserver/baseimage-alpine:3.15 @@ -315,12 +320,7 @@ RUN \ wget \ x264 \ x265 \ - zlib && \ - echo "**** Add Picons ****" && \ - mkdir -p /picons && \ - curl -s -o \ - /picons.tar.bz2 -L \ - https://lsio-ci.ams3.digitaloceanspaces.com/picons/picons.tar.bz2 + zlib # copy local files and buildstage artifacts COPY --from=buildstage /tmp/argtable-build/usr/ /usr/ @@ -329,6 +329,7 @@ COPY --from=buildstage /tmp/tvheadend-build/usr/ /usr/ COPY --from=buildstage /tmp/xmltv-build/usr/ /usr/ COPY --from=buildstage /usr/local/share/man/ /usr/local/share/man/ COPY --from=buildstage /usr/local/share/perl5/ /usr/local/share/perl5/ +COPY --from=piconsstage /picons.tar.bz2 /picons.tar.bz2 COPY root/ / # ports and volumes diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 0b87ee7..35c26e5 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -216,6 +216,11 @@ RUN \ make -j 2 && \ make DESTDIR=/tmp/comskip-build install +############## picons stage ############## +# built by https://github.com/linuxserver/picons-builder +FROM ghcr.io/linuxserver/picons-builder as piconsstage + + ############## runtime stage ############## FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.15 @@ -309,12 +314,7 @@ RUN \ wget \ x264 \ x265 \ - zlib && \ - echo "**** Add Picons ****" && \ - mkdir -p /picons && \ - curl -o \ - /picons.tar.bz2 -L \ - https://lsio-ci.ams3.digitaloceanspaces.com/picons/picons.tar.bz2 + zlib # copy local files and buildstage artifacts COPY --from=buildstage /tmp/argtable-build/usr/ /usr/ @@ -323,6 +323,7 @@ COPY --from=buildstage /tmp/tvheadend-build/usr/ /usr/ COPY --from=buildstage /tmp/xmltv-build/usr/ /usr/ COPY --from=buildstage /usr/local/share/man/ /usr/local/share/man/ COPY --from=buildstage /usr/local/share/perl5/ /usr/local/share/perl5/ +COPY --from=piconsstage /picons.tar.bz2 /picons.tar.bz2 COPY root/ / # ports and volumes diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 1b18b0e..192f178 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -217,6 +217,11 @@ RUN \ make -j 2 && \ make DESTDIR=/tmp/comskip-build install +############## picons stage ############## +# built by https://github.com/linuxserver/picons-builder +FROM ghcr.io/linuxserver/picons-builder as piconsstage + + ############## runtime stage ############## FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.15 @@ -310,12 +315,7 @@ RUN \ wget \ x264 \ x265 \ - zlib && \ - echo "**** Add Picons ****" && \ - mkdir -p /picons && \ - curl -o \ - /picons.tar.bz2 -L \ - https://lsio-ci.ams3.digitaloceanspaces.com/picons/picons.tar.bz2 + zlib # copy local files and buildstage artifacts COPY --from=buildstage /tmp/argtable-build/usr/ /usr/ @@ -324,6 +324,7 @@ COPY --from=buildstage /tmp/tvheadend-build/usr/ /usr/ COPY --from=buildstage /tmp/xmltv-build/usr/ /usr/ COPY --from=buildstage /usr/local/share/man/ /usr/local/share/man/ COPY --from=buildstage /usr/local/share/perl5/ /usr/local/share/perl5/ +COPY --from=piconsstage /picons.tar.bz2 /picons.tar.bz2 COPY root/ / # ports and volumes diff --git a/README.md b/README.md index 97f2c7e..0d27d9b 100644 --- a/README.md +++ b/README.md @@ -309,6 +309,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **19.08.22:** - Switch to new picons builder. * **16.04.22:** - Added URL XMLTV grabber. * **05.01.22:** - Rebase to Alpine 3.15. Disable execinfo to fix builds. Update xmltv. * **11.05.21:** - Added Intel iHD driver support. diff --git a/readme-vars.yml b/readme-vars.yml index 68f344c..b61cd2c 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -124,6 +124,7 @@ app_setup_block: | # changelog changelogs: + - { date: "19.08.22:", desc: "Switch to new picons builder." } - { date: "16.04.22:", desc: "Added URL XMLTV grabber." } - { date: "05.01.22:", desc: "Rebase to Alpine 3.15. Disable execinfo to fix builds. Update xmltv." } - { date: "11.05.21:", desc: "Added Intel iHD driver support." }