-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
feature: remove /config
from the Dockerfile VOLUME instruction
#126
feature: remove /config
from the Dockerfile VOLUME instruction
#126
Conversation
https://github.com/maxisam/mgob/actions/runs/10722607810/job/29748977592 build doesn't pass with this change |
From the logs I can't tell why the endpoints are not available. It just exits with the following error.
In principle, the issue I'm having is that only the config shouldn't be stored in an anonymous volume as this causes rebuilds with different values not to be picked up. Also the config is known at build time and is used for reading only, so having it stored in a volume makes little sense to me and should just be part of the image (or via a bind-mount to host if you don't build an image from it). I've put the VOLUME instruction back, but only removed the |
It works now |
I've tested with dev.295 and can confirm that changes to yaml files in config are now properly picked up after rebuilding a new image from a |
/config
from the Dockerfile VOLUME instruction
@sjiep Thanks for testing. So the new image will use your config properly if you use the public build as a base right? |
Sorry, I had a typo in my message. It was typed as not instead of now now 😅 (I've edited the original message). Just to be sure we are talking about the same thing, with the following FROM maxisam/mgob:dev.295
COPY ./gpg/key.gpg.pub /gpg/
COPY ./config/plan.yml /config/ Making changes to the |
Cool, that is what I thought. I was a bit confused earlier 😆 I will merge this Friday. Pls remind me if I don't. Thanks! |
@maxisam, a small reminder for merging 😉 |
Thanks! Completely forgot...I was on a business trip and the flight got cancelled.Totally messed up my plan and forgot about this. |
@maxisam, I have still one small favor to ask, could you make a release? |
here you go, https://github.com/maxisam/mgob/releases/tag/2.0.24 Thanks for the contribution 😊 |
…isam#126) * Removed the Dockerfile VOLUME instruction * Only removed config from the VOLUME instruction --------- Co-authored-by: Robert van Kints <robert.van.kints@integral-learning.de>
Addresses #125
@maxisam you mentioned to let it stay for a week, so feel free to merge whenever you are comfortable.
Perhaps you could already make a release with dev tag so that I can test it from my side?