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

Verbesserungen für das Image #2

Open
hupling opened this issue May 28, 2024 · 2 comments
Open

Verbesserungen für das Image #2

hupling opened this issue May 28, 2024 · 2 comments

Comments

@hupling
Copy link
Contributor

hupling commented May 28, 2024

Mit jedem Run bekommt das Dockerfile mehr Layer. Daher würde ich solche Schritte RUN rm $HOME/pdi-ce-${PDI_VERSION}.zip auslagern. Ein Image zum Downloaden der ganzen Konfig und dann das übertragen https://docs.docker.com/get-started/09_image_best/#multi-stage-builds

FROM registry.access.redhat.com/ubi9/openjdk-11:latest hier würde ich noch auf das Runtime-Image wechseln. Das ist kleiner.

@hupling
Copy link
Contributor Author

hupling commented May 28, 2024

@ejcsid

@ejcsid
Copy link
Collaborator

ejcsid commented May 29, 2024

@hupling Danke für den Input. Umsetzung in PR #3

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