On Thu, Mar 31, 2016 at 4:47 PM, Imesh Gunaratne <[email protected]> wrote:
> > > On Thu, Mar 31, 2016 at 2:05 PM, Isuru Haththotuwa <[email protected]> > wrote: > >> >> [2]. >> FROM wso2am:1.10.0 >> MAINTAINER [email protected] >> >> COPY artifacts/ /mnt/wso2-artifacts/carbon-home >> > We are not using root user, and the relevant user (wso2user) has permission to /mnt. Technically we can give permission to /opt as well, but IMHO we can have this directory in /mnt. Will change the name to /mnt/wso2. > > Shouldn't it better to use a simple folder structure like > "/usr/local/wso2/wso2<product-code>/" instead of above? Apache Httpd [3], > Tomcat [4], JBoss [5] Dockerfiles use something similar. > > [3] > https://github.com/docker-library/httpd/blob/bc72e42914f671e725d85a01ff037ce87c827f46/2.4/Dockerfile#L6 > [3] > https://github.com/docker-library/tomcat/blob/ed98c30c1cd42c53831f64dffa78a0abf7db8e9a/8-jre8/Dockerfile#L3 > [4] https://github.com/jboss-dockerfiles/wildfly/blob/master/Dockerfile#L7 > > Thanks > > >> >> >> -- >> 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 > > -- Thanks and Regards, Isuru H. +94 716 358 048* <http://wso2.com/>*
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
