summaryrefslogtreecommitdiff
path: root/share/spack/templates/container/amazonlinux_2.dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/templates/container/amazonlinux_2.dockerfile')
-rw-r--r--share/spack/templates/container/amazonlinux_2.dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/share/spack/templates/container/amazonlinux_2.dockerfile b/share/spack/templates/container/amazonlinux_2.dockerfile
new file mode 100644
index 0000000000..5ab05562c0
--- /dev/null
+++ b/share/spack/templates/container/amazonlinux_2.dockerfile
@@ -0,0 +1,24 @@
+{% extends "container/bootstrap-base.dockerfile" %}
+{% block install_os_packages %}
+RUN yum update -y \
+ && yum groupinstall -y "Development Tools" \
+ && yum install -y \
+ curl \
+ findutils \
+ gcc-c++ \
+ gcc \
+ gcc-gfortran \
+ git \
+ gnupg2 \
+ hostname \
+ iproute \
+ make \
+ patch \
+ python \
+ python-pip \
+ python-setuptools \
+ unzip \
+ && pip install boto3 \
+ && rm -rf /var/cache/yum \
+ && yum clean all
+{% endblock %}