Update container Java versions to Java 25

v2
pabloFuente 2025-11-20 11:13:12 +01:00
parent 8bff08d39f
commit 316f938e4a
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ RUN echo "deb [arch=amd64] http://ubuntu.openvidu.io/7.2.0 noble main" | tee /et
# Install Java, supervisor and netstat # Install Java, supervisor and netstat
RUN apt update && apt install -y \ RUN apt update && apt install -y \
openjdk-21-jre \ openjdk-25-jre \
supervisor && \ supervisor && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

View File

@ -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-21-jre \ openjdk-25-jre \
jq \ jq \
docker.io \ docker.io \
ethtool \ ethtool \

View File

@ -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-21-jre \ openjdk-25-jre \
dnsutils \ dnsutils \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View File

@ -18,7 +18,7 @@ RUN set -eux; \
gnupg \ gnupg \
iproute2 \ iproute2 \
lsb-release \ lsb-release \
openjdk-21-jdk \ openjdk-25-jdk \
rsync \ rsync \
software-properties-common \ software-properties-common \
sudo; \ sudo; \
@ -37,7 +37,7 @@ RUN set -eux; \
docker-compose-plugin \ docker-compose-plugin \
nodejs; \ nodejs; \
npm install -g http-server@latest; \ npm install -g http-server@latest; \
update-alternatives --set java /usr/lib/jvm/java-21-openjdk-amd64/bin/java; \ update-alternatives --set java /usr/lib/jvm/java-25-openjdk-amd64/bin/java; \
apt clean; \ apt clean; \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*