Bootstrap: docker
From: ubuntu:20.04
Stage: build

%post
    apt-get update
    apt-get install -y software-properties-common
    apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
    apt-get update 
    apt-get install -y --no-install-recommends elmerfem-csc-eg libqt5xml5 libqt5printsupport5 libglu1-mesa
    echo 'POST script done'

%runscript
    echo "Running Container"
    echo "Arguments received: $*"
    exec echo "$@"

%labels
    Author JCugnoni/CAELinux
    Version v0.0.1

%help
    This is a simple Ubuntu 20.04 container for ElmerFEM including its GUI