Cause with this I actually bind my local m2 directoy as karaf-maven repo.
And this is only needed if the docker container is started.
It's like the -v on the docker cli

regards, Achim


2015-07-24 23:42 GMT+02:00 Benson Margulies <[email protected]>:

> Achim,
>
> Why 'volumne' in <run> and not a <bind> in the volumes?
>
> <volumne>${user.home}/.m2/repository:/opt/karaf/maven-repo</volumne>
>
> On Fri, Jul 24, 2015 at 5:00 PM, Achim Nierbeck <[email protected]>
> wrote:
> > Hi,
> >
> > basically you can do that. For me this showcase is the basis to play
> around
> > with
> > a continuous delivery pipeline based on jolokia as JMX communication
> layer.
> > A customized maven plugin[1] will throw the just build bundle into the
> > container and
> > therefore trigger an update. [2]
> >
> > regards, Achim
> >
> > [1] -
> >
> https://github.com/ANierbeck/JavaLang-Tooling/tree/master/karaf-deployer-maven-plugin
> > [2] -
> >
> https://github.com/ANierbeck/JavaLand-Microservices/blob/master/service-impl/pom.xml#L115-L131
> >
> > 2015-07-24 22:57 GMT+02:00 Benson Margulies <[email protected]>:
> >>
> >> I think I get the idea, but permit me to explain what I want to do.
> >>
> >> I have a little collection of features that depend on CXF and thus, of
> >> course, HTTP. (I might want a different transport some day). I want to
> >> build a docker container.
> >>
> >> Do I duplicate your runtime, and then your 'Service Configuration" is
> >> where my service fits in?
> >>
> >>
> >> On Fri, Jul 24, 2015 at 3:57 PM, Achim Nierbeck <
> [email protected]>
> >> wrote:
> >> > Hi,
> >> >
> >> > yes this is the runtime:
> >> >
> >> >
> https://github.com/ANierbeck/JavaLang-Tooling/tree/master/Karaf-Service-Runtime
> >> > and this is basic feature:
> >> >
> >> >
> https://github.com/ANierbeck/JavaLang-Tooling/tree/master/Karaf-Service-Configuration
> >> >
> >> > regards, Achim
> >> >
> >> >
> >> > 2015-07-24 20:46 GMT+02:00 Benson Margulies <[email protected]>:
> >> >>
> >> >> Achim,
> >> >>
> >> >> This looks great. Do you use the karaf-assembler upstream to get the
> >> >> pieces together? I'm a bit puzzled by some aspects of that.
> >> >>
> >> >>
> >> >> On Fri, Jul 24, 2015 at 1:34 PM, Achim Nierbeck
> >> >> <[email protected]>
> >> >> wrote:
> >> >> > Hi Benson,
> >> >> >
> >> >> > don't know about those,
> >> >> > but might be interested in a sample I did. [1]
> >> >> >
> >> >> > regards, Achim
> >> >> >
> >> >> > [1] -
> >> >> >
> >> >> >
> >> >> >
> https://github.com/ANierbeck/JavaLang-Tooling/tree/master/Karaf-Service-Docker
> >> >> >
> >> >> > 2015-07-24 17:21 GMT+02:00 Benson Margulies <[email protected]
> >:
> >> >> >>
> >> >> >> Thanks to various assistance from hereabouts, I have a working web
> >> >> >> service in Karaf.
> >> >> >>
> >> >> >> Next stop: a Docker container.
> >> >> >>
> >> >> >> Would anyone here care to recommend (or not) the io8/fabric8 tools
> >> >> >> for
> >> >> >> this job?
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> >
> >> >> > Apache Member
> >> >> > Apache Karaf <http://karaf.apache.org/> Committer & PMC
> >> >> > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> >> >> > Committer
> >> >> > &
> >> >> > Project Lead
> >> >> > blog <http://notizblog.nierbeck.de/>
> >> >> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> >> >> >
> >> >> > Software Architect / Project Manager / Scrum Master
> >> >> >
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> >
> >> > Apache Member
> >> > Apache Karaf <http://karaf.apache.org/> Committer & PMC
> >> > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> Committer
> >> > &
> >> > Project Lead
> >> > blog <http://notizblog.nierbeck.de/>
> >> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> >> >
> >> > Software Architect / Project Manager / Scrum Master
> >> >
> >
> >
> >
> >
> > --
> >
> > Apache Member
> > Apache Karaf <http://karaf.apache.org/> Committer & PMC
> > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
> &
> > Project Lead
> > blog <http://notizblog.nierbeck.de/>
> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> >
> > Software Architect / Project Manager / Scrum Master
> >
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to