Skip to content

Commit

Permalink
Add docker file for rocky9 (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
John Eslick authored Jun 9, 2023
1 parent 595e77a commit efb4af2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/test-platform/centos7/README.md
Original file line number Diff line number Diff line change
@@ -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.
9 changes: 9 additions & 0 deletions docker/test-platform/rocky9/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions docker/test-platform/rocky9/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
IDAES Binary Extensions Testing Platform
=========================================

This Docker container can be used to test IDAES binary extensions on Rocky
Linux 9.

0 comments on commit efb4af2

Please sign in to comment.