Dockerfile.dev 902 Bytes
Newer Older
Alexandre Beelen's avatar
Alexandre Beelen committed
1
2
3
FROM debian:stretch
ARG release
ENV release=${release}
4
5
6
7
8
9
10
11
RUN apt-get -y update && apt-get install -y \
    libx11-dev \
    libpng-dev \
    libfftw3-dev \
    libcfitsio-dev \
    libforms-dev \
    python-dev \
    python-numpy \
Alexandre Beelen's avatar
Merge    
Alexandre Beelen committed
12
    Libgtk2.0-dev \
13
14
15
    gfortran \
    curl
RUN curl http://www.iram.fr/~gildas/dist/gildas-src-$release.tar.gz | tar xz && \
16
    bash -c "cd gildas-src-$release && \
Alexandre Beelen's avatar
Alexandre Beelen committed
17
    GAG_SEARCH_PATH=/usr/lib/x86_64-linux-gnu source admin/gildas-env.sh -o openmp && \
18
19
    make && make -j 4 install" && \
    echo 'export GAG_ROOT_DIR=/gildas-exe-$release' >> /etc/bash.bashrc && \
Alexandre Beelen's avatar
Alexandre Beelen committed
20
    echo 'export GAG_EXEC_SYSTEM=x86_64-debian9-gfortran-openmp' >> /etc/bash.bashrc && \
21
    echo '. $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc && \
22
    rm -Rf gildas-src-$release && \
23
24
    cd gildas-exe-$release && \
    curl http://www.iram.fr/~gildas/dist/gildas-doc-$release.tar.gz | tar xz