BootStrap: docker
From: centos:centos7

%environment
HIPSYCL_BASE_CC=gcc
HIPSYCL_BASE_CXX=g++
. /opt/rh/devtoolset-9/enable
%setup

%post
yum update -y
yum install epel-release -y
yum install -y rpm-build sed unzip python34 python3 git parallel wget perl perl-Data-Dumper cmake3 curl patch 
yum install centos-release-scl -y
yum install devtoolset-9 -y
yum install lbzip2 -y
#We neeed proper cmake 
yum remove cmake
ln -s /usr/bin/cmake3 /usr/bin/cmake
#bash /install-cuda.sh
#bash /install-base-spack.sh

