2022-04-19 20:51:06 +00:00
|
|
|
FROM centos:7
|
2019-01-07 20:28:53 +00:00
|
|
|
|
|
|
|
# Install packages for installing HIRS ACA
|
|
|
|
RUN yum -y update && yum clean all
|
2022-04-29 18:14:46 +00:00
|
|
|
# install build tools for TPM2 provisioner
|
|
|
|
RUN yum install -y epel-release cmake make git gcc-c++ doxygen graphviz protobuf-compiler cppcheck python libssh2-devel openssl libcurl-devel log4cplus-devel protobuf-devel re2-devel tpm2-tss-devel tpm2-abrmd-devel && yum clean all
|
|
|
|
|
|
|
|
# install build tools for ACA
|
|
|
|
RUN yum install -y sudo yum install java-1.8.0-openjdk-devel protobuf-compiler rpm-build epel-release cmake make git gcc-c++ doxygen graphviz cppcheck python libssh2-devel openssl libcurl-devel log4cplus-devel protobuf-devel re2-devel tpm2-tss-devel tpm2-abrmd-devel trousers-devel && yum clean all
|
|
|
|
# install run time dependencies
|
|
|
|
RUN yum install -y mariadb-server openssl tomcat java-1.8.0-openjdk-headless rpmdevtools coreutils initscripts chkconfig sed grep wget which firewalld policycoreutils net-tools git rpm-build && yum clean all
|
2019-01-07 20:28:53 +00:00
|
|
|
|
2022-04-19 20:51:06 +00:00
|
|
|
# Remove TLSv1, TLSv1.1, references to prevent java security from stopping tomcat launch
|
2022-04-29 18:14:46 +00:00
|
|
|
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
|
2022-04-19 20:51:06 +00:00
|
|
|
|
2019-01-07 20:28:53 +00:00
|
|
|
# Expose ACA Port
|
2022-04-20 14:46:26 +00:00
|
|
|
EXPOSE 8443
|