Skip to content

check if file exists, do not rely on TEMURIN_TAG#7

Merged
staskolauren merged 1 commit into
mainfrom
cleanup-dockerfile
Apr 21, 2022
Merged

check if file exists, do not rely on TEMURIN_TAG#7
staskolauren merged 1 commit into
mainfrom
cleanup-dockerfile

Conversation

@staskolauren
Copy link
Copy Markdown
Contributor

Full credit goes to @bpholt for this idea:

Check if the java.security file exists in a given path, and if so use that file path. If path is not one of the three known paths, exit with error "java.security file path not found".

Functionality is maintained, but the Dockerfile no longer has knowledge of/responsibility for "valid" TEMURIN_TAG values.

exit if java.security path not found
Copy link
Copy Markdown
Member

@bpholt bpholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@staskolauren staskolauren merged commit fc10d7f into main Apr 21, 2022
@staskolauren staskolauren deleted the cleanup-dockerfile branch April 21, 2022 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants