adapted from https://raw.githubusercontent.com/intel/oneapi-containers/master/images/docker/os-tools-centos8/Dockerfile for centos7