8 lines
573 B
Docker
8 lines
573 B
Docker
|
|
||
|
FROM luciolelii/smartgears:3.4.3-SNAPSHOT
|
||
|
COPY ./target/storagehub.war /usr/local/tomcat/webapps/
|
||
|
COPY ./docker/jackrabbit /app/jackrabbit
|
||
|
COPY ./docker/storagehub.xml /usr/local/tomcat/conf/Catalina/localhost/
|
||
|
RUN unzip /usr/local/tomcat/webapps/storagehub.war -d /usr/local/tomcat/webapps/storagehub
|
||
|
RUN sed -i 's/<root /<logger name="org.gcube.data.access.storagehub" level="DEBUG" \/>\n <root /g' /usr/local/tomcat/lib/logback.xml
|
||
|
RUN sed -i 's/${{adminId}}/workspace/g; s/${{adminPwd}}/gcube/g' /usr/local/tomcat/webapps/storagehub/WEB-INF/web.xml
|