java: use Java 17

pull/1759/head
Saúl Ibarra Corretgé 8 months ago committed by GitHub
parent 140db223e3
commit 615396e1f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      base-java/Dockerfile

@ -9,5 +9,5 @@ RUN mkdir -p /usr/share/man/man1 && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
apt-dpkg-wrap apt-get update && \
apt-dpkg-wrap apt-get install -y nodejs openjdk-11-jre-headless openjdk-11-jdk-headless && \
apt-dpkg-wrap apt-get install -y nodejs openjdk-17-jre-headless openjdk-17-jdk-headless && \
apt-cleanup

Loading…
Cancel
Save