Skip to content

Commit

Permalink
Add PICONS
Browse files Browse the repository at this point in the history
  • Loading branch information
dfigus committed Dec 27, 2023
1 parent 67852a7 commit 4b1e36c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tvheadend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ RUN \
# hadolint ignore=DL3006
FROM ${BUILD_FROM}

ARG PICONS_RELEASE="2023-12-16--05-47-38"

COPY requirements.txt /tmp/

RUN \
Expand Down Expand Up @@ -203,6 +205,19 @@ COPY --from=builder /tmp/argtable-build/usr/ /usr/
COPY --from=builder /tmp/comskip-build/usr/ /usr/
COPY --from=builder /tmp/tvheadend-build/usr/ /usr/


RUN \

Check failure on line 209 in tvheadend/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / Hadolint

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check

Check failure on line 209 in tvheadend/Dockerfile

View workflow job for this annotation

GitHub Actions / workflows / Hadolint

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
mkdir -p /picons/tmp \
&& curl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/picons/picons/releases/tags/"${PICONS_RELEASE}" > /picons/tmp/release.json \
&& jq -r '.assets[] | select(.name | test("^snp-full\\.220x132-190x102\\.light\\.on\\.transparent.*symlink\\.tar\\.xz$")) | .browser_download_url' /picons/tmp/release.json | xargs wget -O /picons/tmp/snp.tar.xz \
&& jq -r '.assets[] | select(.name | test("^srp-full\\.220x132-190x102\\.light\\.on\\.transparent.*symlink\\.tar\\.xz$")) | .browser_download_url' /picons/tmp/release.json | xargs wget -O /picons/tmp/srp.tar.xz \
&& tar xfJ /picons/tmp/snp.tar.xz --one-top-level=/picons/snp --strip-components=1 \
&& tar xfJ /picons/tmp/srp.tar.xz --one-top-level=/picons/srp --strip-components=1 \
&& rm -rf /picons/tmp

# Copy root filesystem
COPY rootfs /

Expand Down

0 comments on commit 4b1e36c

Please sign in to comment.