Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add a docker image for Java 21 support #702

Merged
merged 3 commits into from
Jan 29, 2024

chore: apply spotless formatting

936eb20
Select commit
Loading
Failed to load commit list.
Merged

fix: add a docker image for Java 21 support #702

chore: apply spotless formatting
936eb20
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jan 29, 2024 in 0s

5 new issues (0 max.) of at least minor severity.

Codacy 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/ubi8-init-java21/entrypoint.sh#L103

Double quote to prevent globbing and word splitting.