Skip to content

fix Dockerfile to build and install executable #65

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iripiri
Copy link
Contributor

@iripiri iripiri commented Jun 26, 2025

Hi @stv0g

the current master is not running (CrashLoopBackOff on startup) because the VILLAScontroller executable was not copied to the image.
This happened because I had been working with a development image which was mounting the code and I was doing pip install manually.

@iripiri iripiri requested a review from stv0g June 26, 2025 07:26
@stv0g
Copy link
Contributor

stv0g commented Jun 27, 2025

Hi @iripiri,

Is there a reason you removed the multi-stage Docker build? With your change, the resulting image is considerably larger, as it includes build-essential and python-dev.

The reasoning behind the multi-stage build that we separate the build dependencies from the final image.

Signed-off-by: iripiri <ikoester@eonerc.rwth-aachen.de>
@iripiri
Copy link
Contributor Author

iripiri commented Jun 27, 2025

Hi @stv0g,

the multi-stage build is back! It got lost during several different build issues and fixing attempts

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

Successfully merging this pull request may close these issues.

2 participants