11 lines
502 B
Docker
11 lines
502 B
Docker
|
|
FROM luciolelii/smartgears:4.0.0-SNAPSHOT
|
|
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 sed -i "s/{{adminId}}/$REPOUSER/g; s/{{adminPwd}}/$REPOPWD/g" /tomcat/webapps/storagehub/WEB-INF/web.xml |