diff --git a/Dockerfile b/Dockerfile index a23c7f3a..bb479c76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM centos:centos7 as installing -RUN yum update -y \ +RUN cd /etc/yum.repos.d && wget https://repo.codeit.guru/codeit.el`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`.repo \ + && yum update -y \ && yum install -y wget tar unzip dos2unix patch \ && yum clean all @@ -93,7 +94,10 @@ COPY container_files/usr-local-bin/ /usr/local/bin/ RUN chmod +x /usr/local/bin/*.sh COPY container_files/httpd/* /etc/httpd/conf.d/ COPY container_files/shibboleth/* /etc/shibboleth/ -RUN cp /dev/null /etc/httpd/conf.d/ssl.conf +RUN cp /dev/null /etc/httpd/conf.d/ssl.conf +RUN rm -f /opt/tomee/bin/log4j-* +COPY container_files/tier-support/log4j_fix/* /opt/tomee/bin/ + # this is to improve openshift RUN touch /opt/grouper/grouperEnv.sh \ diff --git a/container_files/tier-support/log4j_fix/log4j-api-2.17.0.jar b/container_files/tier-support/log4j_fix/log4j-api-2.17.0.jar new file mode 100644 index 00000000..e39dab0d Binary files /dev/null and b/container_files/tier-support/log4j_fix/log4j-api-2.17.0.jar differ diff --git a/container_files/tier-support/log4j_fix/log4j-core-2.17.0.jar b/container_files/tier-support/log4j_fix/log4j-core-2.17.0.jar new file mode 100644 index 00000000..b853057e Binary files /dev/null and b/container_files/tier-support/log4j_fix/log4j-core-2.17.0.jar differ diff --git a/container_files/tier-support/log4j_fix/log4j-jul-2.17.0.jar b/container_files/tier-support/log4j_fix/log4j-jul-2.17.0.jar new file mode 100644 index 00000000..44c8ea26 Binary files /dev/null and b/container_files/tier-support/log4j_fix/log4j-jul-2.17.0.jar differ