12 lines
639 B
Docker
12 lines
639 B
Docker
FROM smartgears-distribution:4.0.0-java11-tomcat9
|
|
ARG REPOUSER=admin
|
|
ARG REPOPWD=admin
|
|
COPY ./target/storagehub.war /tomcat/webapps/
|
|
COPY ./docker/jackrabbit /app/jackrabbit
|
|
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
|
|
RUN rm /tomcat/webapps/storagehub.war
|
|
COPY ./docker/storage-settings.properties /tomcat/webapps/storagehub/WEB-INF/classes/
|
|
RUN sed -i "s/{{adminId}}/$REPOUSER/g; s/{{adminPwd}}/$REPOPWD/g" /tomcat/webapps/storagehub/WEB-INF/web.xml |