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

35 lines
1.1 KiB
Docker

FROM ubuntu:16.04
MAINTAINER openvidu@gmail.com
# Install Chrome
RUN apt-get update && apt-get -y upgrade && apt-get install -y wget sudo
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 && \
apt-get update && apt-get install -y google-chrome-stable
# Download selenium-server
RUN wget --no-verbose https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar -O /selenium-server-standalone.jar
# Install media packages
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:jonathonf/ffmpeg-4
RUN apt-get update
RUN apt-get install -y ffmpeg pulseaudio xvfb
# Install jq for managing JSON
RUN apt-get install -y jq
# Install Java 8
RUN apt-get install -y openjdk-8-jdk-headless
# Clean
RUN apt-get autoclean
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
RUN mkdir /recordings
RUN chmod 777 /recordings
ENTRYPOINT /entrypoint.sh