Radio-dodsorfas/docker-liquidsoap/Dockerfile

21 lines
567 B
Docker
Raw Normal View History

2018-09-27 14:21:07 +02:00
FROM ocaml/opam:ubuntu
MAINTAINER Daniel
USER root
RUN apt-get -q update && \
2018-10-16 15:55:04 +02:00
apt-get install -qq -yy python festival sox ffmpeg && \
2018-09-27 14:21:07 +02:00
apt-get clean
RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && \
chmod a+rx /usr/local/bin/youtube-dl
USER opam
RUN opam switch 4.05.0 && \
opam depext cry faad ffmpeg flac gstreamer lame liquidsoap mad opus samplerate ssl taglib vorbis && \
opam install cry faad ffmpeg flac gstreamer lame liquidsoap mad opus samplerate ssl taglib vorbis
CMD ["liquidsoap", "-h"]