Skip to content

[FEAT] Bump JRE Version #178

@dotsam

Description

@dotsam

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Bump openjdk-jre-headless to version 25

Reason for change

10.1.x versions of the network application support/require JRE version 25. Per the official .deb:

$ dpkg-deb --info unifi_sysvinit_all.deb
 new Debian package, version 2.0.
 size 124661338 bytes: control archive=213717 bytes.
    1122 bytes,    23 lines      control
  799582 bytes,  6222 lines      md5sums
    2929 bytes,    93 lines   *  postinst             #!/bin/bash
    2397 bytes,    89 lines   *  postrm               #!/bin/sh
    2331 bytes,    73 lines   *  preinst              #!/bin/sh
    1836 bytes,    69 lines   *  prerm                #!/bin/sh
     245 bytes,     9 lines      templates
 Package: unifi
 Version: 10.1.85-32713-1
 Section: java
 Priority: optional
 Architecture: all
 Depends: binutils, coreutils, adduser, libcap2, curl, logrotate,
  mongodb-server (>= 1:3.6.0) | mongodb-10gen (>= 3.6.0) | mongodb-org-server (>= 3.6.0),
  mongodb-server (<< 1:8.1.0) | mongodb-10gen (<< 8.1.0) | mongodb-org-server (<< 8.1.0),
  temurin-25-jre | bellsoft-java25 | jdk-25 |
  openjdk-25-jdk | openjdk-25-jre | openjdk-25-jdk-headless | openjdk-25-jre-headless
 Pre-Depends: debconf (>= 0.5) | debconf-2.0
 Conflicts: unifi-controller
 Provides: unifi-controller
 Replaces: unifi-controller
 Installed-Size: 223139
 Maintainer: UniFi developers <[email protected]>
 Description: Ubiquiti UniFi server
  Ubiquiti UniFi server is a centralized management system for UniFi suite of devices.
  After the UniFi server is installed, the UniFi Network application can be accessed on any
  web browser. The UniFi Network application allows the operator to instantly provision thousands
  of UniFi devices, map out network topology, quickly manage system traffic, and further
  provision individual UniFi devices.
 Homepage: https://ui.com

Proposed code change

Swap out the apt install of openjdk-17-jre-headless with openjdk-25-jre-headless in both Dockerfiles

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions