mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-21 05:53:27 +00:00
da836a0862
* Updated docker images to use python3 * Updated docker compose files. * Test Travis CI * Test Travis CI * Updated Dockerfiles. * Updated .travis.yml * Cleaned up scripts. * Cleaned up scripts. * Updated docker-compose files. * Updated amazonlinux2 image with python3. * Updated system test driver. * Updated system test driver * Cleaned up import in test driver. * Updated setup scripts to output python version
16 lines
629 B
Docker
16 lines
629 B
Docker
FROM amazonlinux:2
|
|
|
|
# Install packages for building HIRS
|
|
RUN yum -y update && yum clean all
|
|
RUN yum groupinstall -y "Development Tools"
|
|
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
|
|
|
|
# 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
|