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

Optimized dockerimage using jlink #79

Open
kappsegla opened this issue Feb 8, 2022 · 1 comment
Open

Optimized dockerimage using jlink #79

kappsegla opened this issue Feb 8, 2022 · 1 comment

Comments

@kappsegla
Copy link
Contributor

An optimized build of jre can be created using jlink and then we can copy the output into an docker image.
Let us create a new Dockerfile named Optimized.Dockerfile while keeping the old one and add instructions into the optimized version for a minimal build.

When trying out an image with another name than Dockerfile we must tell docker build what filename to use.

docker build -f Optimized.Dockerfile .

@helenahalldiniths helenahalldiniths self-assigned this Feb 10, 2022
@helenahalldiniths
Copy link
Contributor

I will not be able to work with the projekt a lot today. I have done quite a lot of issues so if someone wants to do this issue, please go ahead!

@helenahalldiniths helenahalldiniths removed their assignment Feb 11, 2022
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

No branches or pull requests

2 participants