2020-06-08 12:19:30 +02:00
|
|
|
FROM ubuntu:20.04
|
2018-01-23 11:59:02 +01:00
|
|
|
MAINTAINER openvidu@gmail.com
|
|
|
|
|
2020-06-08 12:19:30 +02:00
|
|
|
# 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
|
|
|
|
2020-06-08 12:19:30 +02: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
|
2020-06-08 12:19:30 +02:00
|
|
|
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
|
2019-01-18 12:29:22 +01:00
|
|
|
RUN chmod 777 /recordings
|
2018-01-23 11:59:02 +01:00
|
|
|
|
|
|
|
ENTRYPOINT /entrypoint.sh
|