2019-02-22 17:15:44 +00:00
|
|
|
FROM amazonlinux:2
|
|
|
|
|
|
|
|
# Install packages for building HIRS
|
|
|
|
RUN yum -y update && yum clean all
|
|
|
|
RUN yum groupinstall -y "Development Tools"
|
2020-01-17 12:05:05 +00:00
|
|
|
RUN yum install -y wget java-1.8.0-openjdk-devel protobuf-compiler rpm-build cmake make git gcc-c++ doxygen graphviz python3 libssh2-devel openssl protobuf-devel tpm2-tss-devel tpm2-abrmd-devel trousers-devel libcurl-devel
|
2019-02-22 17:15:44 +00:00
|
|
|
|
|
|
|
# Install EPEL
|
|
|
|
WORKDIR /tmp
|
|
|
|
RUN wget -O epel.rpm -nv https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
|
|
|
RUN yum install -y ./epel.rpm
|
|
|
|
RUN yum install -y cppcheck log4cplus-devel re2-devel
|
|
|
|
|
|
|
|
# Set Environment Variables
|
|
|
|
ENV JAVA_HOME /usr/lib/jvm/java
|