mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: update all Dockerfiles for Java 21
parent
03c8b6e57f
commit
1aabf62f34
|
|
@ -2,20 +2,20 @@ FROM ubuntu:24.04
|
||||||
LABEL maintainer="info@openvidu.io"
|
LABEL maintainer="info@openvidu.io"
|
||||||
|
|
||||||
# Update and install dependencies
|
# Update and install dependencies
|
||||||
RUN apt-get update && apt-get -y upgrade && \
|
RUN apt update && apt -y upgrade && \
|
||||||
apt-get install -y gnupg2 && \
|
apt install -y gnupg2 && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install Kurento Media Server (KMS)
|
# Install Kurento Media Server (KMS)
|
||||||
RUN echo "deb [arch=amd64] http://ubuntu.openvidu.io/7.1.1 noble main" | tee /etc/apt/sources.list.d/kurento.list && \
|
RUN echo "deb [arch=amd64] http://ubuntu.openvidu.io/7.2.0 noble main" | tee /etc/apt/sources.list.d/kurento.list && \
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 234821A61B67740F89BFD669FC8A16625AFA7A83 && \
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 234821A61B67740F89BFD669FC8A16625AFA7A83 && \
|
||||||
apt-get update && \
|
apt update && \
|
||||||
apt-get -y install kurento-media-server && \
|
apt -y install kurento-media-server && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install Java, supervisor and netstat
|
# Install Java, supervisor and netstat
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt update && apt install -y \
|
||||||
openjdk-11-jre \
|
openjdk-21-jre \
|
||||||
supervisor && \
|
supervisor && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
wget \
|
wget \
|
||||||
openjdk-11-jre \
|
openjdk-21-jre \
|
||||||
jq \
|
jq \
|
||||||
docker.io \
|
docker.io \
|
||||||
ethtool \
|
ethtool \
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ MAINTAINER info@openvidu.io
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
wget \
|
wget \
|
||||||
openjdk-11-jre \
|
openjdk-21-jre \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue