What about creating your own docker file as explained in the blog post ?
Else, juste starting a Karaf instance, changing your running container and tagging.
Regards
JB
> Le 6 avr. 2020 à 12:03, Steinar Bang <sb@dod.no> a écrit :
>
>>>>>> Jean-Baptiste Onofre <jb@nanthrax.net>:
>
>> Hi,
>> By default, you would need the tty if you want the shell.
>
>> You can find some details here: http://blog.nanthrax.net/?p=839 <http://blog.nanthrax.net/?p=839>
>
>> https://github.com/apache/karaf/tree/master/examples/karaf-docker-example <https://github.com/apache/karaf/tree/master/examples/karaf-docker-example>
>
> Thanks JB!
>
> What I want to do, is:
> 1. Add an extra maven repo
> 2. Run feature:repo-add to add a feature repository
> 3. Run feature:install to install the top feature pulling in everything
>
> What would be the simplest approach?
>
> Create my own Dockerfile inheriting the official karaf dockerfile, then
> creating an image on dockerhub?
>
> Thanks again!
>
|