fix: add a docker image for Java 21 support #702
5 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 5
Complexity increasing per file
==============================
- docker/ubi8-init-java21/build.gradle.kts 1
Clones added
============
- docker/ubi8-init-java21/build.gradle.kts 1
See the complete overview on Codacy
Annotations
Check warning on line 17 in docker/ubi8-init-java21/Dockerfile
codacy-production / Codacy Static Code Analysis
docker/ubi8-init-java21/Dockerfile#L17
Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
Check failure on line 103 in docker/ubi8-init-java21/Dockerfile
codacy-production / Codacy Static Code Analysis
docker/ubi8-init-java21/Dockerfile#L103
Use COPY instead of ADD for files and folders
Check failure on line 104 in docker/ubi8-init-java21/Dockerfile
codacy-production / Codacy Static Code Analysis
docker/ubi8-init-java21/Dockerfile#L104
Use COPY instead of ADD for files and folders
Check failure on line 118 in docker/ubi8-init-java21/Dockerfile
codacy-production / Codacy Static Code Analysis
docker/ubi8-init-java21/Dockerfile#L118
Use absolute WORKDIR
Check warning on line 103 in docker/ubi8-init-java21/entrypoint.sh
codacy-production / Codacy Static Code Analysis
docker/ubi8-init-java21/entrypoint.sh#L103
Double quote to prevent globbing and word splitting.