davidzollo opened a new issue, #10642:
URL: https://github.com/apache/seatunnel/issues/10642

   ## Problem
   
   The Kubernetes and Docker getting-started documentation uses `FROM 
openjdk:8` as the base image in Dockerfile examples. However, the official 
`openjdk` Docker Hub images have been **deprecated since 2022** and are no 
longer maintained. Users following the docs may encounter pull failures or get 
outdated/insecure images.
   
   ## Affected Files
   
   - `docs/en/getting-started/kubernetes/kubernetes.mdx` (lines 73, 101)
   - `docs/zh/getting-started/kubernetes/kubernetes.mdx` (lines 73, 101)
   - `docs/en/getting-started/docker/docker.md` (line 67)
   - `docs/zh/getting-started/docker/docker.md` (line 67)
   
   ## Expected Fix
   
   Replace all occurrences of:
   ```dockerfile
   FROM openjdk:8
   ```
   
   with:
   ```dockerfile
   FROM seatunnelhub/openjdk:8u342
   ```
   
   This is the image already used in the project's **official Dockerfile** at 
`seatunnel-dist/src/main/docker/Dockerfile`:
   ```dockerfile
   FROM seatunnelhub/openjdk:8u342 as builder
   ...
   FROM seatunnelhub/openjdk:8u342
   ```
   
   ## Why `seatunnelhub/openjdk:8u342`
   
   1. It is the image the project already uses in its own Docker build, 
ensuring consistency.
   2. The deprecated `openjdk` images on Docker Hub have known security 
vulnerabilities and receive no updates.
   3. Using the project's own maintained image avoids confusion and build 
failures for new users.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to