idm-service/Dockerfile

20 lines
870 B
Docker
Raw Normal View History

2024-02-07 16:49:54 +01:00
#FROM d4science/smartgears-distribution:4.0.0-SNAPSHOT-java11-tomcat9
FROM smartgears-distribution:4.0.0-java11-tomcat9
ARG REPOUSER=admin
ARG REPOPWD=admin
2024-02-07 16:49:54 +01:00
# COPY ./target/identity-manager.war /tomcat/webapps/
COPY ./target/identity-manager.war /usr/local/tomcat/webapps/
# COPY ./docker/storagehub.xml /tomcat/conf/Catalina/localhost/
COPY ./docker/logback.xml /etc/
COPY ./docker/container.ini /etc/
2024-02-07 16:49:54 +01:00
# RUN unzip /tomcat/webapps/identity-manager.war -d /tomcat/webapps/identity-manager
2024-02-12 17:43:30 +01:00
# RUN unzip /usr/local/tomcat/webapps/identity-manager.war -d /usr/local/tomcat/webapps/identity-manager
# RUN rm /usr/local/tomcat/webapps/identity-manager.war
2024-02-07 16:49:54 +01:00
EXPOSE 8080
# COPY ./docker/storage-settings.properties /tomcat/webapps/identity-manager/WEB-INF/classes/
2024-02-07 10:11:14 +01:00
# RUN sed -i "s/{{adminId}}/$REPOUSER/g; s/{{adminPwd}}/$REPOPWD/g" /tomcat/webapps/storagehub/WEB-INF/web.xml