openvidu/openvidu-server/docker/openvidu-recording/Dockerfile

28 lines
816 B
Docker
Raw Normal View History

2018-01-23 11:59:02 +01:00
FROM ubuntu:16.04
MAINTAINER openvidu@gmail.com
# Install Chrome
RUN apt-get update && apt-get -y upgrade && apt-get install -y wget
2018-01-23 11:59:02 +01:00
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list && \
2018-01-23 11:59:02 +01:00
apt-get update && apt-get install -y google-chrome-stable
# Install media packages
2018-01-29 15:26:31 +01:00
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:jonathonf/ffmpeg-3
2018-01-29 15:26:31 +01:00
RUN apt-get update
2018-01-23 11:59:02 +01:00
RUN apt-get install -y ffmpeg pulseaudio xvfb
2018-03-14 11:49:40 +01:00
# Install jq for managing JSON
RUN apt-get install -y jq
2018-01-23 11:59:02 +01:00
# Clean
RUN apt-get autoclean
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
RUN mkdir /recordings
ENTRYPOINT /entrypoint.sh