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

Update Docker build with multistage build and other improvements #814

Open
dplarson opened this issue Mar 28, 2023 · 0 comments
Open

Update Docker build with multistage build and other improvements #814

dplarson opened this issue Mar 28, 2023 · 0 comments

Comments

@dplarson
Copy link
Contributor

I've been working in parallel on enhancements to the build and deployment pipelines for hosting the Arbiter at EPRI, which has introduced some general improvements that can be ported over to this public repo. (I.e., things that are not specific to EPRI's setup but rather are generally applicable to anyone that would run the Docker builds.)

So this issue is to track merging in those enhancements into this repo.

One of the big improvements is switching to a multistage Docker build, which can both reduce the final Docker image size (by ~12% in my testing) and reduce potential security concerns from apt-get package dependencies with CVEs. Other improvements include some reorganization of RUN steps to better take advantage of Docker build/layer caching.

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

1 participant