Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Feedback #1

Open
TomasTomecek opened this issue Aug 4, 2017 · 3 comments
Open

Feedback #1

TomasTomecek opened this issue Aug 4, 2017 · 3 comments

Comments

@TomasTomecek
Copy link
Member

Can we rename init to post-init and update the logic?

contained shell scripts (`*.sh`) are sourced when `service` is started

that doesn't make much sense, there is just before and after, not when.

Tests are missing (which is okay), we should just track it.

So, overall, I really like it. Obviously there is plenty of room to polish (make it more generic and get rid of specifics). Well done!

@LorbusChris
Copy link

LorbusChris commented Aug 4, 2017

I like this approach, too.
It seems very flexible and one can still mount config volumes in the container, overriding built in settings.

Just to be clear though, the implication is that running the container with non-default config requires s2i to be present on the host, right? Or does it require s2i even when not changing defaults?

Would be great to reach a consesus here and then get this into the template asap.

@rpitonak
Copy link
Contributor

rpitonak commented Aug 7, 2017

@LorbusChris
The s2i needs to be installed on the host only if you want to build the new image with non-default configuration. The result of command s2i build is new reproducible Docker image. So, s2i is not required for running any of the containers.

@TomasTomecek
Copy link
Member Author

+1 to @rpitonak

our plan for configurable containerized services to be usable without any additional tooling: you can just docker run ... it, if you want to change configuration, you need s2i.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants