Bootstrap: docker
From: ubuntu:20.04

%post
    set -e
    export DEBIAN_FRONTEND=noninteractive

    ln -fs /usr/share/zoneinfo/UTC /etc/localtime
    
    apt-get update && \
    apt-get install -y software-properties-common && \
    add-apt-repository ppa:ubuntuhandbook1/ppa && \

    apt-get update && \
    apt-get install -y git cmake build-essential g++ gcc python3 gfortran \
    libeigen3-dev libcln-dev libsfml-dev libgsl-dev wget \
    dpkg-dev cmake binutils libx11-dev libxpm-dev libxft-dev libxext-dev libssl-dev \
    libpcre3-dev xlibmesa-glu-dev libglew-dev libftgl-dev \
    libmysqlclient-dev libfftw3-dev libcfitsio-dev \
    graphviz-dev libavahi-compat-libdnssd-dev \
    libldap2-dev libxml2-dev libkrb5-dev \
    libgsl0-dev qtwebengine5-dev libxft2 \
    qt4-dev-tools libqt4-dev libqtcore4 libqtgui4 \
    nano libxxhash0 libxxhash-dev libboost-all-dev libssl1.1 libssh-4
    
#    add-apt-repository -y ppa:qt4-x11 && \
#    add-apt-repository ppa:rock-core/qt4 &&\
#    qt4-default libqt4-dev libqt4-sql-mysql

%environment
    export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

%runscript
    exec "$@"

