-
Notifications
You must be signed in to change notification settings - Fork 27
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
Docker ci fix #371
Docker ci fix #371
Conversation
This seems to be fixed by adding a fallback to build from source if the binary install fails, but it takes approx 1h20m to complete. This may be OK for the purposes of this release, but should probably be addressed at some stage. The options I can see are:
|
@AntoineRondelet the last commit updates (Once the current build passes I'll make this PR target develop. For now it targets master in order to force the docker builds.) |
Good idea @dtebbs - that would prevent major changes to the images before the release. Alternatively, building from source is also fine (the images are only built when we PR master) so 1h or so of build time isn't too much a problem. That being said, if we can build on top of an already existing layer we should definitely do it. |
Ah! just saw this message as I was writing mine above.. |
I've created #373 to track this. As you say, let's move forward with this.
Just to clarify, the problematic part of hardcoding the compiler version here is that it has to be kept the same as in |
Yes that's what I meant by:
Needing to hardcode the same value all over the place is error prone since one has great chances to forget to change the value somewhere and trigger some potentially unexpected behaviors or plain errors (compilation or runtime - depending on the context).
Yes, now that you added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for fixing this one @dtebbs
No description provided.