Skip to content

Commit

Permalink
Release 4.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
valtri committed Sep 21, 2023
1 parent 5cd94e3 commit be51873
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
graphviz \
libmariadb-java \
mc \
openjdk-11-jre-headless \
openjdk-17-jre-headless \
procps \
$tomcat libservlet3.1-java libcommons-dbcp-java libcommons-pool-java libtcnative-1 \
wget \
Expand All @@ -35,18 +35,18 @@ RUN mkdir -p ~/.config/mc/ \
&& ln -s /usr/lib/mc/mc.sh /etc/profile.d/

# tomcat
RUN echo 'JAVA_OPTS="${JAVA_OPTS} -Xms256m -Xmx1024m -Xss1m -Dmidpoint.home=/var/opt/midpoint -Djavax.net.ssl.trustStore=/var/opt/midpoint/keystore.jceks -Djavax.net.ssl.trustStoreType=jceks"' >> /etc/default/${tomcat}
RUN echo 'JAVA_OPTS="${JAVA_OPTS} -Xms256m -Xmx1024m -Dmidpoint.home=/var/opt/midpoint -Djavax.net.ssl.trustStore=/var/opt/midpoint/keystore.jceks -Djavax.net.ssl.trustStoreType=jceks"' >> /etc/default/${tomcat}
COPY tomcat.sh /

ENV v 4.4.3
ENV v 4.4.6

# midpoint
#COPY midpoint-${v}-dist.tar.gz .
#RUN : \
RUN wget -nv https://evolveum.com/downloads/midpoint/${v}/midpoint-${v}-dist.tar.gz \
&& tar xzf midpoint-${v}-dist.tar.gz \
&& install -v -m 0644 midpoint-${v}/lib/midpoint.war /var/lib/${tomcat}/webapps/ \
&& zip -v -d /var/lib/${tomcat}/webapps/midpoint.war WEB-INF/lib-provided/\* \
&& zip -v -d /var/lib/${tomcat}/webapps/midpoint.war WEB-INF/lib-provided/tomcat-\* \
&& rm -rf midpoint-${v}-dist.tar.gz midpoint-${v}/
RUN mkdir /var/opt/midpoint \
&& chown $tomcat_user:$tomcat_user /var/opt/midpoint
Expand Down

0 comments on commit be51873

Please sign in to comment.