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

Optimize the container #40

Open
adamradocz opened this issue Jul 25, 2018 · 1 comment
Open

Optimize the container #40

adamradocz opened this issue Jul 25, 2018 · 1 comment

Comments

@adamradocz
Copy link
Contributor

Is it possible to build the BOINC server in another container and use just the artifacts that needed (multi-stage build)? Just like we did with the BOINC Client Intel container?
The production image would be much smaller.

If it's not feasible, than the packages required only for the build should be removed, which also decrease the image size.

@marius311
Copy link
Owner

In some sense that is basically what happens, since the building happens in the makeproject container but the running is done in apache/mysql. That said, I haven't really thought how we might improve the logical structure / relation of the containers ever since multi-stage builds were introduced. I will try to, and am open to hearing any specific ideas you might have!

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