storagehub/Dockerfile

12 lines
639 B
Docker
Raw Normal View History

2023-02-13 11:16:44 +01:00
FROM smartgears-distribution:4.0.0-java11-tomcat9
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
2023-02-13 11:16:44 +01:00
RUN rm /tomcat/webapps/storagehub.war
2023-05-05 15:58:13 +02:00
COPY ./docker/storage-settings.properties /tomcat/webapps/storagehub/WEB-INF/classes/
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