2017-12-06 21:35:38 +01:00
|
|
|
FROM ubuntu:16.04
|
|
|
|
|
2018-06-04 16:21:21 +02:00
|
|
|
LABEL maintainer="openvidu@gmail.com"
|
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)
|
2018-09-28 17:44:54 +02:00
|
|
|
RUN echo "deb http://ubuntu.openvidu.io/6.8.0 xenial kms6" | tee /etc/apt/sources.list.d/kurento.list \
|
2018-03-19 19:49:04 +01:00
|
|
|
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83 \
|
2017-10-18 17:41:46 +02:00
|
|
|
&& apt-get update \
|
2018-09-28 17:44:54 +02:00
|
|
|
&& apt-get -y install 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
|
2018-06-04 16:21:21 +02:00
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && apt-get install -y nodejs
|
2017-12-06 21:35:38 +01:00
|
|
|
|
|
|
|
# Java
|
|
|
|
RUN apt-get install -y default-jdk
|
|
|
|
|
|
|
|
# Maven
|
|
|
|
RUN apt-get install -y maven
|
|
|
|
|
|
|
|
# git
|
|
|
|
RUN apt-get install -y git
|
|
|
|
|
|
|
|
# angular-cli
|
|
|
|
RUN npm install -g @angular/cli
|
|
|
|
|
|
|
|
# http-server
|
|
|
|
RUN npm install -g http-server
|
|
|
|
|
2018-06-04 16:21:21 +02:00
|
|
|
# typescript
|
2018-03-14 21:42:46 +01:00
|
|
|
RUN npm install -g typescript
|
|
|
|
|
2017-12-06 21:35:38 +01:00
|
|
|
# sudo
|
|
|
|
RUN apt-get -y install sudo
|
|
|
|
|
|
|
|
# Cleanup
|
|
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN apt-get autoremove --purge -y
|
2017-10-18 17:41:46 +02:00
|
|
|
|
2018-08-31 10:20:32 +02:00
|
|
|
COPY barcode.y4m /opt/openvidu/barcode.y4m
|
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"]
|