Hey folks, I've been playing around with setting up docker images for SMX, and one of the things it would be very helpful to be able to do is specify a list of *bundles* (not features!) that are installed the first time SMX boots up.
I know how to do features - just edit the etc/org.apache.karaf.features.cfg file - but I want to ensure the following bundles are installed: mvn:commons-io/commons-io/1.4 mvn:commons-beanutils/commons-beanutils/1.8.3 And I don't see a way to do that without having to boot it up first (which is a right pain to do in Docker). On a related note, is it possible to install the features without having to boot up SMX? My primary aim for what I'm doing now is to be able to create a Docker instance which is fully pre-configured for the other developers to use (and potentially to use in production, at some later stage). I could create a Maven POM to add the necessary extra JARs to the system directory, I imagine, but I'd rather have them installed during creation of the image, if I can - the less things that can go wrong when other people get their hands on it, the better. And yeah, I could build my own SMX (doesn't seem like it would be that hard, but not sure it would solve the non-feature bundles, above), but I'm trying to see what I can and can't do in Docker, and it just feels like it would be a bit easier to just download the binary and install stuff, as opposed to cloning the SMX repo and keeping that up-to-date. Might be wrong, but hey. Thanks, -Andrew
