2022-02-02 11:27:52 +01:00
|
|
|
|
2022-06-15 17:49:58 +02:00
|
|
|
FROM luciolelii/smartgears:4.0.0-SNAPSHOT
|
2022-02-05 11:42:41 +01:00
|
|
|
ARG REPOUSER=admin
|
|
|
|
ARG REPOPWD=admin
|
2022-06-15 17:49:58 +02:00
|
|
|
COPY ./target/storagehub.war /tomcat/webapps/
|
2022-02-02 11:27:52 +01:00
|
|
|
COPY ./docker/jackrabbit /app/jackrabbit
|
2022-06-15 17:49:58 +02:00
|
|
|
COPY ./docker/storagehub.xml /tomcat/conf/Catalina/localhost/
|
|
|
|
COPY ./docker/logback.xml /etc/
|
|
|
|
COPY ./docker/container.ini /etc/
|
|
|
|
RUN unzip /tomcat/webapps/storagehub.war -d /tomcat/webapps/storagehub
|
2022-07-22 10:33:12 +02:00
|
|
|
COPY ./docker/storage-settings.properties /tomcat/webapps/storagehub/classes/META-INF
|
2022-06-15 17:49:58 +02:00
|
|
|
RUN sed -i "s/{{adminId}}/$REPOUSER/g; s/{{adminPwd}}/$REPOPWD/g" /tomcat/webapps/storagehub/WEB-INF/web.xml
|