Date created: Thursday, April 7, 2022 9:04:01 AM. Last modified: Saturday, December 28, 2024 12:20:10 PM
get_iplayer
Docker image for get_iplayer on x86:
FROM ubuntu:22.04
ARG ARCH="arm64"
ARG VERSION
ENV VERSION=$VERSION
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
ca-certificates wget unzip libwww-perl liblwp-protocol-https-perl libmojolicious-perl libxml-libxml-perl libcgi-pm-perl atomicparsley ffmpeg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN wget https://github.com/get-iplayer/get_iplayer/archive/refs/tags/v${VERSION}.zip && \
unzip v${VERSION}.zip && \
rm v${VERSION}.zip && \
cd get_iplayer-${VERSION}/ && \
install -m 755 ./get_iplayer.cgi /usr/local/bin && \
ln /get_iplayer-${VERSION}/get_iplayer /bin/get_iplayer
ENTRYPOINT [ "get_iplayer", "-o", "/downloads/"]
# Build with:
# VERSION=3.35; docker build -t get_iplayer --build-arg VERSION=${VERSION} .
#
# Run with:
# docker run -it --rm -v /opt/get_iplayer:/downloads get_iplayer https://URL-GOES-HERE
docker-compose file:
---
services:
get_iplayer:
container_name: get_iplayer
build:
context: .
dockerfile: Dockerfile
volumes:
- /opt/get_iplayer:/downloads
restart: never
# Build with:
# docker compose build --build-arg VERSION=3.35
#
# Run with
# docker compose run --rm -it get_iplayer https://URL-GOES-HERE
Docker image for get_iplayer on ODROID-N2:
FROM ubuntu:22.04
ARG ARCH="arm64"
ARG VERSION
ENV VERSION=$VERSION
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
ca-certificates wget unzip libwww-perl liblwp-protocol-https-perl libmojolicious-perl libxml-libxml-perl libcgi-pm-perl atomicparsley ffmpeg
RUN wget https://github.com/get-iplayer/get_iplayer/archive/refs/tags/v${VERSION}.zip && \
unzip v${VERSION}.zip && \
rm v${VERSION}.zip && \
cd get_iplayer-${VERSION}/ && \
install -m 755 ./get_iplayer.cgi /usr/local/bin
# Build with:
# VERSION=3.30; docker build -t get_iplayer:${VERSION} --build-arg VERSION=${VERSION} .
#
# Run with:
# docker run -it --rm -v /media/9TB-Array/Dump:/downloads get_iplayer:${VERSION} /get_iplayer-${VERSION}/get_iplayer -o /downloads/ httpa://URL-GOES-HERE
Docker image for get_iplayer v3.29 on RaspPi:
ARG ARCH="armv7"
FROM ubuntu:22.04
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install ca-certificates wget unzip libwww-perl liblwp-protocol-https-perl libmojolicious-perl libxml-libxml-perl libcgi-pm-perl atomicparsley ffmpeg && \
wget https://github.com/get-iplayer/get_iplayer/archive/refs/tags/v3.29.zip && \
unzip v3.29.zip && \
rm v3.29.zip && \
cd get_iplayer-3.29/ && \
install -m 755 ./get_iplayer.cgi /usr/local/bin
# Build with:
# docker build -t get_iplayer:3.29 .
# Start with:
# docker run -it --rm --security-opt seccomp:unconfined -v /opt/get_iplayer/downloads:/downloads get_iplayer:3.29 /bin/bash
Previous page: fscrypt
Next page: GNS3 Notes