Closed ducknificient closed 1 year ago
@aureliogrb @mriccell could you please look into this?
The dockerfile for server jre has hardcoded the checksum for the current version of the JRE and it explains in the instructions (comment section in the top) to download the server jre from https://www.oracle.com/java/technologies/downloads/ rather than from archive pages.
This is called out in the error you see: "WARNING: 1 computed checksum did NOT match"
The versions that you tried: 8u92 to 8u202 from 2016-04-19 to 2019-01-15 are grossly out of date.
I would strongly advice against using an out-of-date server jre for anything other than debugging an old system in a very controlled environment. To give you an example of why: TLS 1.3 was added to JDK 8 in 2020 (8u271). The versions you were trying to use top out at TLS 1.2. Older versions are also vulnerable to security vulnerabilities fixed and disclosed that might cause you grief.
If you do have a good reason to do it (and strong isolation to secure your system) you can edit the checksum in the docker file to match the checksum of the version you want to install.
Hi, i tried to build Oracle JDK (Server JRE) base image for Oracle WebLogic. But it's failed on step 8 upon validating checksum . I tried various versions of server-jre from 8u92 to 8u202. Download source is from https://www.oracle.com/id/java/technologies/javase/javase8-archive-downloads.html Thank you