Hi Isuru,

IMO we should only do the following tasks.

1) entrypoint.sh should perform a "cp -r" from a given fixed location, ex:
/opt/wso2-patching to <CARBON_HOME> before running wso2server.sh
2) The developers can add a COPY to /opt/wso2-patching when they are
creating a test image Dockerfile
3) An optional volume mount option can be provided with the run.sh script
to mount a given directory to /opt/wso2-patching

The folder name will be adhered to by convention. /opt/wso2-patching will
contain any overridden files that should be copied to CARBON_HOME. We don't
have to copy different folders separately, and IMO we should not. It should
be allowed to override any given file in the CARBON_HOME tree.


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Sun, Mar 20, 2016 at 12:10 AM, Imesh Gunaratne <[email protected]> wrote:

> On Sat, Mar 19, 2016 at 5:26 PM, Isuru Haththotuwa <[email protected]>
> wrote:
>
>>
>> Tested #3, with the simple copy operation, without a file mount. A user
>> of wso2 Dockerfiles would need to create own dockerfile similar to [1] add
>> the relevant artifacts to /mnt/artifacts location using ADD/COPY. Those
>> artifacts will be copied to the deployment space
>> (CARBON_HOME/repository/deployment/server before container initialization).
>>
>> [1].
>>
>> FROM wso2/as-5.3.0:1.0.0
>> MAINTAINER [email protected]
>>
>> RUN mkdir -p /mnt/artifacts/axis2services
>> RUN mkdir -p /mnt/artifacts/webapps
>> ADD axis2services/* /mnt/artifacts/axis2services
>> ADD webapps/* /mnt/artifacts/webapps
>>
>>
>>
> Great work! I think it would be better if the user can override anything
> under the CARBON_HOME. If so we might not need multiple folders.
>
> BTW in the above sample, we may not need *RUN mkdir *statements. ADD/COPY
> commands create folders if they do not exist.
>
> Thanks
>
>
>
>>>
>>>> On Fri, Mar 18, 2016 at 9:33 AM, Chamila De Alwis <[email protected]>
>>>> wrote:
>>>>
>>>>> *[x] Stable* - Go ahead and release
>>>>>
>>>>>    - Verified Licensing and headers
>>>>>    - Verified folder and package structure
>>>>>    - Verified the out of the box functionality (default profile,
>>>>>    access to management console, login, brief smoke test) of the following
>>>>>    products.
>>>>>    - WSO2 AM - 1.9.1, 1.10.0
>>>>>       - WSO2 AS - 5.3.0
>>>>>       - WSO2 BPS - 3.5.0
>>>>>       - WSO2 BRS - 2.1.0, 2.2.0
>>>>>       - WSO2 CEP - 4.0.0
>>>>>       - WSO2 DAS - 3.0.0, 3.0.1
>>>>>       - WSO2 DSS - 3.5.0
>>>>>       - WSO2 ES - 2.0.0
>>>>>       - WSO2 ESB - 4.9.0
>>>>>       - WSO2 GREG - 4.6.0, 5.1.0
>>>>>       - WSO2 IS - 5.1.0
>>>>>       - WSO2 MB - 3.0.0, 3.1.0
>>>>>    - Verified build.sh, run.sh, and save.sh functionality for each of
>>>>>    the above products
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>> Chamila de Alwis
>>>>> Committer and PMC Member - Apache Stratos
>>>>> Software Engineer | WSO2 | +94772207163
>>>>> Blog: code.chamiladealwis.com
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Mar 17, 2016 at 8:44 PM, Isuru Haththotuwa <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> This is the second release candidate (RC2) of WSO2 Dockerfiles 1.0.0
>>>>>> release.
>>>>>>
>>>>>> *Tag to be voted upon:*
>>>>>> https://github.com/wso2/dockerfiles/tree/v1.0.0-rc2
>>>>>>
>>>>>> *Source and distribution packages:*
>>>>>> https://github.com/wso2/dockerfiles/releases/tag/v1.0.0-rc2
>>>>>>
>>>>>> Please download, test, and vote. The README file under each product
>>>>>> directory contains instructions on how to try it out locally.
>>>>>>
>>>>>> [ ] Broken - Do not release (explain why)
>>>>>> [ ] Stable - Go ahead and release
>>>>>>
>>>>>> This vote will be open for 72 hours or as needed.
>>>>>>
>>>>>> --
>>>>>> Thanks and Regards,
>>>>>>
>>>>>> Isuru H.
>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lakmal Warusawithana
>>>> Director - Cloud Architecture; WSO2 Inc.
>>>> Mobile : +94714289692
>>>> Blog : http://lakmalsview.blogspot.com/
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Imesh Gunaratne*
>>> Senior Technical Lead
>>> WSO2 Inc: http://wso2.com
>>> T: +94 11 214 5345 M: +94 77 374 2057
>>> W: http://imesh.io
>>> Lean . Enterprise . Middleware
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.io
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to