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

31 lines
865 B
Docker
Raw Normal View History

FROM ubuntu:20.04
2018-01-23 11:59:02 +01:00
MAINTAINER openvidu@gmail.com
# Install packages
RUN apt-get update && apt-get -y upgrade && apt-get install -y \
wget \
sudo \
gnupg2 \
apt-utils \
software-properties-common \
ffmpeg \
pulseaudio \
xvfb \
jq \
&& rm -rf /var/lib/apt/lists/*
2018-01-23 11:59:02 +01:00
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y google-chrome-stable && rm -rf /var/lib/apt/lists/*
2018-03-14 11:49:40 +01:00
2018-01-23 11:59:02 +01:00
# Clean
RUN apt-get clean && apt-get autoclean && apt-get autoremove
2018-01-23 11:59:02 +01:00
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
RUN mkdir /recordings
RUN chmod 777 /recordings
2018-01-23 11:59:02 +01:00
ENTRYPOINT /entrypoint.sh