From efb4af2d2037669a9a30ea77e429e0be645c8725 Mon Sep 17 00:00:00 2001 From: John Eslick Date: Fri, 9 Jun 2023 10:50:22 -0400 Subject: [PATCH] Add docker file for rocky9 (#260) --- docker/test-platform/centos7/README.md | 2 +- docker/test-platform/rocky9/Dockerfile | 9 +++++++++ docker/test-platform/rocky9/README.md | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 docker/test-platform/rocky9/Dockerfile create mode 100644 docker/test-platform/rocky9/README.md diff --git a/docker/test-platform/centos7/README.md b/docker/test-platform/centos7/README.md index e6b48827..49dcdbd6 100644 --- a/docker/test-platform/centos7/README.md +++ b/docker/test-platform/centos7/README.md @@ -1,4 +1,4 @@ IDAES Binary Extensions Testing Platform ========================================= -This Docker container can be used to test IDAES binary extensions on CentOS 8. +This Docker container can be used to test IDAES binary extensions on CentOS 7. diff --git a/docker/test-platform/rocky9/Dockerfile b/docker/test-platform/rocky9/Dockerfile new file mode 100644 index 00000000..ea4266cf --- /dev/null +++ b/docker/test-platform/rocky9/Dockerfile @@ -0,0 +1,9 @@ +FROM rockylinux:9 + +RUN yum -y update; yum clean all +RUN yum -y install lapack blas libgfortran libgomp git wget +RUN mkdir repo +RUN cd repo; \ + if [ `uname -m` = "aarch64" ]; then wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O ~/miniconda.sh; fi; \ + if [ `uname -m` = "x86_64" ]; then wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh; fi; \ + bash ~/miniconda.sh -b -p $HOME/miniconda diff --git a/docker/test-platform/rocky9/README.md b/docker/test-platform/rocky9/README.md new file mode 100644 index 00000000..44418fa8 --- /dev/null +++ b/docker/test-platform/rocky9/README.md @@ -0,0 +1,5 @@ +IDAES Binary Extensions Testing Platform +========================================= + +This Docker container can be used to test IDAES binary extensions on Rocky +Linux 9.