x86_64-alpine-get_iplayer/Dockerfile
Jonny Ervine 3dcc4b486d new file: Dockerfile
new file:   Jenkinsfile
	new file:   files/etc/crontabs/root
	new file:   files/etc/logrotate.d/get_iplayer
	new file:   files/etc/periodic/daily/get_iplayer_update
	new file:   files/etc/periodic/hourly/get_iplayer_pvr
	new file:   files/start
Initial commit
2020-02-18 09:50:10 +00:00

27 lines
1.1 KiB
Docker

FROM harbor.ervine.dev/library/x86_64/alpine/alpine-3.11
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
ENV GETIPLAYER_OUTPUT=/config GETIPLAYER_PROFILE=/config/.get_iplayer PUID=1000 PGID=100 PORT=1935
EXPOSE 1935
VOLUME /config
RUN apk --update --no-cache add ffmpeg perl-cgi perl-mojolicious perl-lwp-protocol-https perl-xml-libxml jq logrotate su-exec tini
RUN wget -qnd "https://bitbucket.org/shield007/atomicparsley/raw/68337c0c05ec4ba2ad47012303121aaede25e6df/downloads/build_linux_x86_64/AtomicParsley" && \
install -m 755 -t /usr/local/bin ./AtomicParsley && \
rm ./AtomicParsley
RUN wget -qO - "https://api.github.com/repos/get-iplayer/get_iplayer/releases/latest" > /tmp/latest.json && \
echo get_iplayer release `jq -r .name /tmp/latest.json` && \
wget -qO - "`jq -r .tarball_url /tmp/latest.json`" | tar -zxf - && \
cd get-iplayer* && \
install -m 755 -t /usr/local/bin ./get_iplayer ./get_iplayer.cgi && \
cd / && \
rm -rf get-iplayer* && \
rm /tmp/latest.json
COPY files/ /
ENTRYPOINT ["/sbin/tini", "--"]
CMD /start