FROM ubuntu:18.04
RUN apt-get update -y && \
    apt-get upgrade -y && \
    apt-get install -y \
        coreutils \
        libcunit1-dev \
        exuberant-ctags \
        libfftw3-dev \
        libomp-dev \
        libnetcdf-dev \
        python3-pip \
        ninja-build \
        gcc \
        g++ \
        zlib1g-dev && \
        pip3 install cmake && \
    apt-get clean all
COPY . /build/
WORKDIR /build/
RUN rm -rf build && \
    mkdir -p build && \
    cd build && \
    cmake -G Ninja .. && \
    ninja 
