openvidu/openvidu-test-e2e/docker/bionic/Dockerfile

53 lines
1.3 KiB
Docker
Raw Normal View History

FROM ubuntu:18.04
2017-12-06 21:35:38 +01:00
2020-11-16 15:09:13 +01:00
LABEL maintainer="info@openvidu.io"
2017-10-18 17:41:46 +02:00
USER root
2017-12-06 21:35:38 +01:00
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y software-properties-common && apt-get install -y --no-install-recommends apt-utils
2017-10-18 17:41:46 +02:00
# Install Kurento Media Server (KMS)
2021-03-04 11:55:20 +01:00
RUN echo "deb [arch=amd64] http://ubuntu.openvidu.io/6.16.0 bionic kms6" | tee /etc/apt/sources.list.d/kurento.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83 \
2017-10-18 17:41:46 +02:00
&& apt-get update \
&& apt-get -y install kurento-media-server
RUN sed -i "s/DAEMON_USER=\"kurento\"/DAEMON_USER=\"root\"/g" /etc/default/kurento-media-server
2017-10-18 17:41:46 +02:00
# Install Node
2017-12-06 21:35:38 +01:00
RUN apt-get update && apt-get install -y curl
2020-11-16 18:25:10 +01:00
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
2017-12-06 21:35:38 +01:00
# Java 11
RUN apt-get install -y openjdk-11-jdk-headless
2017-12-06 21:35:38 +01:00
# Maven
RUN apt-get install -y maven
# git
RUN apt-get install -y git
# http-server
RUN npm install -g http-server@latest
2017-12-06 21:35:38 +01:00
# sudo
RUN apt-get -y install sudo
# ffmpeg (for ffprobe)
RUN add-apt-repository ppa:jonathonf/ffmpeg-4
RUN apt-get update
RUN apt-get install -y ffmpeg
# docker
RUN apt-get update && apt-get -y install docker.io
2017-12-06 21:35:38 +01:00
# Cleanup
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get autoremove --purge -y && apt-get autoclean
2017-10-18 17:41:46 +02:00
2017-12-06 21:35:38 +01:00
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
2017-10-18 17:41:46 +02:00
2017-12-06 21:35:38 +01:00
ENTRYPOINT ["/entrypoint.sh"]