updated ACA Dockerfile

This commit is contained in:
iadgovuser26 2022-04-19 16:51:06 -04:00
parent 8f409e0e0b
commit 6e0d7a3f6f

View File

@ -1,8 +1,13 @@
FROM hirs/hirs-ci:centos7
FROM centos:7
# Install packages for installing HIRS ACA
RUN yum -y update && yum clean all
RUN yum install -y mariadb-server openssl tomcat java-1.8.0 rpmdevtools coreutils initscripts chkconfig sed grep firewalld policycoreutils && yum clean all
RUN yum install -y mariadb-server openssl java-1.8.0 rpmdevtools coreutils initscripts chkconfig sed grep firewalld policycoreutils && yum clean all
# Remove TLSv1, TLSv1.1, references to prevent java security from stopping tomcat launch
RUN sed -i 's/TLSv1,//' /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.*/jre/lib/security/java.security
RUN sed -i 's/TLSv1.1,//' /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.*/jre/lib/security/java.security
RUN yum install -y tomcat
# Expose ACA Port
EXPOSE 8443