eXist-db / docker-existdb

Docker image builder for eXist-db
GNU Affero General Public License v3.0
11 stars 6 forks source link

Building upon base layer #15

Open grantmacken opened 6 years ago

grantmacken commented 6 years ago

I want to argue the case, for keeping the base layer as simple as practicable and then layering use cases into tagged images.

Obviously, when it comes to docker images, size matters. Once you have a layer in place, it is easy to add/subtract stuff and give it a tag. You could say have a v3.4.1-teiPub tag with the eXist TEI Publisher env preinstalled.

The trick is deciding what should be in and what should be out of the base layer. Please add suggestions, comments.

adamretter commented 6 years ago

I agree that we can drop /bin and /tests

duncdrum commented 6 years ago

I actually think that /tests should be excluded by the minimal build flag if it isn't already. No objections to removing bin/

duncdrum commented 6 years ago

I also like the idea of use-case images, maybe we can discuss ideas in a video call.

adamretter commented 6 years ago

I like the idea of use-case images, but not produced by us. We have limited resources. If the TEI-Publisher people want a TEI-Publisher docker image, we should give them the tools to create such a thing, but not do it for them.