<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">BootStrap: docker
From: centos:7

%setup
    mkdir -p ${SINGULARITY_ROOTFS}/iso-unpacked/
    bsdtar xf Abaqus2017.iso -C ${SINGULARITY_ROOTFS}/iso-unpacked/
    mkdir -p ${SINGULARITY_ROOTFS}/cfgs/
    cp assets/VirtualGL.repo ${SINGULARITY_ROOTFS}/etc/yum.repos.d
    cp assets/UserIntentions_DOC.xml ${SINGULARITY_ROOTFS}/cfgs/
    cp assets/simulation-services-UserIntentions_CODE.xml ${SINGULARITY_ROOTFS}/cfgs/
    cp assets/cae-UserIntentions_CODE.xml ${SINGULARITY_ROOTFS}/cfgs/
    cp assets/UserIntentions_CAA_Additional.xml ${SINGULARITY_ROOTFS}/cfgs/

%post
    cd /iso-unpacked/
    rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    yum install -y ksh redhat-lsb-core perl VirtualGL libjpeg-turbo
    yum clean all &amp;&amp; rm -rf /var/cache/yum
    ksh ./1/SIMULIA_Documentation/AllOS/1/StartTUI.sh --silent /cfgs/UserIntentions_DOC.xml
    ksh ./2/SIMULIA_AbaqusServices/Linux64/1/StartTUI.sh --silent /cfgs/simulation-services-UserIntentions_CODE.xml
    ksh ./2/SIMULIA_Abaqus_CAE/Linux64/1/StartTUI.sh --silent /cfgs/cae-UserIntentions_CODE.xml
    ksh ./2/SIMULIA_AbaqusServices_CAA_API/Linux64/1/StartTUI.sh --silent /cfgs/UserIntentions_CAA_Additional.xml

%environment
    export PATH=/opt/abaqus/2017/Commands:$PATH

%runscript
    vglrun abaqus cae

%labels
Maintainer willfurnass
Version v0.1
</pre></body></html>