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

Minor suggestions to improve the container image #237

Open
11 tasks
chgl opened this issue Nov 13, 2023 · 0 comments · May be fixed by #238
Open
11 tasks

Minor suggestions to improve the container image #237

chgl opened this issue Nov 13, 2023 · 0 comments · May be fixed by #238
Assignees

Comments

@chgl
Copy link

chgl commented Nov 13, 2023

Note that there is also jib and cnbp or Spring boot build plugins (see https://spring.io/guides/topicals/spring-boot-docker/ "Build Plugins") which can avoid any hassle with Docker/Containerfiles.

A few suggestions to improve the Containerfile and thus the built image:

michael-82 added a commit that referenced this issue Nov 14, 2023
- use user id instead of name
- pin base image by digest
- replace apt with apt-get
- use docker metadata action
michael-82 added a commit that referenced this issue Nov 14, 2023
- use user id instead of name
- pin base image by digest
- replace apt with apt-get
- use docker metadata action
michael-82 added a commit that referenced this issue Nov 14, 2023
- use user id instead of name
- pin base image by digest
- replace apt with apt-get
- use docker metadata action
michael-82 added a commit that referenced this issue Nov 14, 2023
- use user id instead of name
- pin base image by digest
- replace apt with apt-get
- use docker metadata action
michael-82 added a commit that referenced this issue Nov 15, 2023
michael-82 added a commit that referenced this issue Nov 15, 2023
@michael-82 michael-82 self-assigned this Nov 15, 2023
michael-82 added a commit that referenced this issue Nov 22, 2023
- use user id instead of name
- pin base image by digest
- replace apt with apt-get
- use docker metadata action
michael-82 added a commit that referenced this issue Nov 22, 2023
@michael-82 michael-82 linked a pull request Nov 23, 2023 that will close this issue
michael-82 added a commit that referenced this issue Jan 11, 2024
- use user id instead of name
- pin base image by digest
- replace apt with apt-get
- use docker metadata action
michael-82 added a commit that referenced this issue Sep 10, 2024
- use user id instead of name
- pin base image by digest
- replace apt with apt-get
- use docker metadata action
michael-82 added a commit that referenced this issue Sep 10, 2024
- use user id instead of name
- pin base image by digest
- replace apt with apt-get
- use docker metadata action
michael-82 added a commit that referenced this issue Sep 10, 2024
- switch to temurin 22 alpine base image
- reorder cmds to decrease img size
michael-82 added a commit that referenced this issue Sep 10, 2024
- reorder cmds to decrease img size
michael-82 added a commit that referenced this issue Sep 10, 2024
- mount certificates file and use_system_ca_certs
- remove custom docker entrypoint
michael-82 added a commit that referenced this issue Sep 10, 2024
- re-add custom entrypoint script
- add custom certificates manually again
michael-82 added a commit that referenced this issue Sep 10, 2024
- re-add custom entrypoint script
- add custom certificates manually again
michael-82 added a commit that referenced this issue Sep 10, 2024
- re-add custom entrypoint script
- add custom certificates manually again
michael-82 added a commit that referenced this issue Sep 10, 2024
- reorder cmds to decrease img size
- use user id instead of name
- pin base image by digest
- use docker metadata action
- use alpine image
michael-82 added a commit that referenced this issue Sep 11, 2024
- reorder cmds to decrease img size
- use user id instead of name
- pin base image by digest
- use docker metadata action
- use alpine image
michael-82 added a commit that referenced this issue Sep 23, 2024
- reorder cmds to decrease img size
- use user id instead of name
- pin base image by digest
- use docker metadata action
- use alpine image
michael-82 added a commit that referenced this issue Oct 24, 2024
- reorder cmds to decrease img size
- use user id instead of name
- pin base image by digest
- use docker metadata action
- use alpine image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants