Aias00 opened a new issue, #6819:
URL: https://github.com/apache/shenyu/issues/6819
- severity: Medium; files: all of `shenyu-integrated-test/*/Dockerfile` and
`shenyu-examples/*/Dockerfile` (verified via grep — zero
`USER`/`HEALTHCHECK`/`LABEL` matches)
- description: e.g. `shenyu-integrated-test-http/Dockerfile` ends with `CMD
java -jar ${APP_NAME}.jar` with no `USER`, `HEALTHCHECK`, or OCI `LABEL`. The
release dist Dockerfiles
(`shenyu-dist/shenyu-{admin,bootstrap}-dist/docker/Dockerfile`) correctly set
`USER shenyu`, but these do not.
- impact: Containers run as root; no liveness probe; no image metadata.
- suggested_fix: Add a non-root `USER`, `HEALTHCHECK`, and `LABEL
org.opencontainers.image.*`.
- confidence: High
---
_Identified during the 2026-08-02 deep re-scan; full list in
[`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._
--
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]