stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sajith Kariyawasam <saj...@wso2.com>
Subject Re: Supporting dynamically build / publish docker images in cartridge deployment
Date Fri, 12 Sep 2014 06:39:26 GMT
Hi Imesh,

What I thought was to define a Docker image file location (github url) in
the cartridge definition json, and to build the Image and push to the
registry during the cartridge deployment time.  So will be managing docker
images in registry, and the Docker image definition files (Dockerfile) will
be managed in image developer's git repo. WDYT ?

Thanks,
Sajith

On Fri, Sep 5, 2014 at 5:00 PM, Imesh Gunaratne <imesh@apache.org> wrote:

> Hi Sajith,
>
> Are we looking at managing Docker images in registry or Docker image
> definition files?
>
> Thanks
>
>
> On Thu, Sep 4, 2014 at 4:03 AM, chris snow <chsnow123@gmail.com> wrote:
>
>> Hi Sajith,
>>
>> At the moment the Stratos in docker images have to be built manually
>> (with a single command).  I haven't put much effort into automation
>> because of questions around licensing as all docker images are based
>> on Linux and will probably inherit the GPL license.
>>
>> Many thanks,
>>
>> Chris
>>
>> On Thu, Sep 4, 2014 at 8:54 AM, Sajith Kariyawasam <sajith@wso2.com>
>> wrote:
>> > Hi Devs,
>> >
>> > As mentioned in Lakmal's previous mail "Stratos and Kuburnetes and
>> docker
>> > support", its better if we can support dynamically build and push Docker
>> > images to the registry during a cartridge deployment.
>> >
>> > I think its a great feature to have, and can be supported by using CI
>> tools
>> > like Jenkins. I did bit of a research and were able to get a Docker
>> image
>> > built successfully using docker-build-step-plugin [1]
>> > ( I did through Jenkins UI, ideally should be done through their API,
>> will
>> > give an update on that)
>> > Also found that there is another plugin [2]
>> >
>> > @Chris, I saw you have done some work in building some docker images
>> through
>> > Jenkins, any suggestions on the plugins etc ?
>> >
>> > Thanks,
>> > Sajith
>> >
>> > [1]
>> https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+step+plugin
>> > [2]
>> https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+publish+Plugin
>> >
>> > --
>> > --
>> > Sajith Kariyawasam
>> > Mobile: +94772269575
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
*Sajith Kariyawasam*


*Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
<http://wso2.com>AMIE (SL)Mobile: +94772269575*

Mime
View raw message