FROM d4science/smartgears-distribution:4.0.0-SNAPSHOT-java17-tomcat10.1.19 ARG REPOUSER=admin ARG REPOPWD=admin #install unzip RUN apt-get update && apt-get install unzip 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/