-
Notifications
You must be signed in to change notification settings - Fork 0
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
build(all): Decouple Docker from Maven #27
base: master
Are you sure you want to change the base?
Conversation
Summary from Slack:
Suggested changes
Questions for @ademarcqrtsl
|
@igbanam , The empty properties deletion is harmless. What broke the image was renaming The empty properties deletion should be undone because they are placeholders, and it will be easier for people to find them if they are empty files (we can discuss it if you have better ideas on this and/or comments) |
More context regarding the empty files. That app loads its config by merging X properties files to get its final consolidated configuration. In order it loads (from file https://github.com/simpledotorg/rtsl_utils/blob/igbanam/sc-13779/extract-pde-image-build/Webapps/PrometheusDatabaseExporterWar/src/main/resources/spring.main.xml ):
Docker being by design made to be extended (layers), we're having more than one file to make this easy to extend by just COPY on property file that we want for each layer. Classical layers for images in delivery can be
This part can be discussed if you find it complex to understand. I'm taking the point for updating the documentation on image usage / extension |
Also, the content of the Image has been merged with the content of the WAR. This is not something we want as the two set of configuration serve different purpose.
|
While building out the utilities, we want to vend some packages as Docker images.
Our current build builds like this
Ideally, we want to be able to build like this
…a clean separation of concerns.
This would also remove the dependence on the docker-compose plugin which uses the deprecated
docker-compose
command.