Skip to content

Commit b6bd4be

Browse files
committed
fix(docker): update base image to eclipse-temurin 17.0.19 on Ubuntu 26.04
Bump the published CLI and online image base from eclipse-temurin:17.0.9_9-jre-focal (Ubuntu 20.04) to eclipse-temurin:17.0.19_10-jre-resolute (Ubuntu 26.04). The focal-based image carried the critical/high CVEs reported by Snyk, which stem from outdated Ubuntu 20.04 system libraries (libcurl, freetype, krb5, glibc, sqlite, zlib, expat, libxml2, etc.). The resolute base ships patched versions of these and updates the JRE from 17.0.9 to 17.0.19. Stays glibc-based (same lineage as focal) and publishes linux/amd64 and linux/arm64, matching the release workflow's multi-arch build. Fixes OpenAPITools#16791
1 parent 0198859 commit b6bd4be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/openapi-generator-cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:17.0.9_9-jre-focal
1+
FROM eclipse-temurin:17.0.19_10-jre-resolute
22

33
ADD target/openapi-generator-cli.jar /opt/openapi-generator/modules/openapi-generator-cli/target/openapi-generator-cli.jar
44

modules/openapi-generator-online/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:17.0.9_9-jre-focal
1+
FROM eclipse-temurin:17.0.19_10-jre-resolute
22

33
WORKDIR /generator
44

0 commit comments

Comments
 (0)