Commit 2d137120 authored by Alexandre Beelen's avatar Alexandre Beelen

Add python-dev in the release version for libpython.so

parent d40d0175
......@@ -9,12 +9,11 @@ RUN apt-get -y update && apt-get install -y \
libforms2 \
python \
python-numpy \
python3 \
python3-numpy \
python-dev \
libgtk2.0
RUN echo 'export GAG_ROOT_DIR=/gildas-exe-$release' >> /etc/bash.bashrc && \
echo 'export GAG_EXEC_SYSTEM=x86_64-debian9-gfortran' >> /etc/bash.bashrc && \
echo 'source $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc
COPY gildas-exe-$release .
echo '. $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc
COPY gildas-exe-$release /gildas-exe-$release
# COPY gildas-exe-$release.tar.gz /
# RUN tar xvzf gildas-exe-$release.tar.gz
......@@ -9,13 +9,16 @@ RUN apt-get -y update && apt-get install -y \
libforms-dev \
python-dev \
python-numpy \
python3-dev \
python3-numpy \
libgtk2.0-dev \
gfortran \
curl
RUN curl http://www.iram.fr/~gildas/dist/gildas-src-$release.tar.gz | tar xz && \
bash -c "cd gildas-src-$release && GAG_SEARCH_PATH=/usr/lib/x86_64-linux-gnu source admin/gildas-env.sh && make && make -j 4 install" && \
echo 'export GAG_ROOT_DIR=/gildas-exe-$release' >> /etc/bash.bashrc && echo 'export GAG_EXEC_SYSTEM=x86_64-debian9-gfortran' >> /etc/bash.bashrc && echo 'source $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc && \
bash -c "cd gildas-src-$release && \
GAG_SEARCH_PATH=/usr/lib/x86_64-linux-gnu source admin/gildas-env.sh && \
make && make -j 4 install" && \
echo 'export GAG_ROOT_DIR=/gildas-exe-$release' >> /etc/bash.bashrc && \
echo 'export GAG_EXEC_SYSTEM=x86_64-debian9-gfortran' >> /etc/bash.bashrc && \
echo '. $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc && \
rm -Rf gildas-src-$release && \
cd gildas-exe-$release && curl http://www.iram.fr/~gildas/dist/gildas-doc-$release.tar.gz | tar xz
cd gildas-exe-$release && \
curl http://www.iram.fr/~gildas/dist/gildas-doc-$release.tar.gz | tar xz
......@@ -9,14 +9,15 @@ RUN apt-get -y update && apt-get install -y \
libforms-dev \
python-dev \
python-numpy \
python3-dev \
python3-numpy \
libgtk2.0-dev \
gfortran \
curl
RUN curl http://www.iram.fr/~gildas/dist/gildas-src-$release.tar.gz | tar xz && \
bash -c "cd gildas-src-$release && GAG_SEARCH_PATH=/usr/lib/x86_64-linux-gnu source admin/gildas-env.sh && make && make -j 4 install" && \
echo 'export GAG_ROOT_DIR=/gildas-exe-$release' >> /etc/bash.bashrc && echo 'export GAG_EXEC_SYSTEM=x86_64-debian9-gfortran' >> /etc/bash.bashrc && echo 'source $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc && \
bash -c "cd gildas-src-$release && GAG_SEARCH_PATH=/usr/lib/x86_64-linux-gnu source admin/gildas-env.sh && \
make && make -j 4 install" && \
echo 'export GAG_ROOT_DIR=/gildas-exe-$release' >> /etc/bash.bashrc && \
echo 'export GAG_EXEC_SYSTEM=x86_64-debian9-gfortran' >> /etc/bash.bashrc && \
echo '. $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc && \
rm -Rf gildas-src-$release && \
cd gildas-exe-$release && curl http://www.iram.fr/~gildas/dist/gildas-doc-$release.tar.gz | tar xz
......@@ -30,12 +31,11 @@ RUN apt-get -y update && apt-get install -y \
libcfitsio5 \
libforms2 \
python \
python-dev \
python-numpy \
python3 \
python3-numpy \
libgtk2.0
RUN echo 'export GAG_ROOT_DIR=/gildas-exe-$release' >> /etc/bash.bashrc && \
echo 'export GAG_EXEC_SYSTEM=x86_64-debian9-gfortran' >> /etc/bash.bashrc && \
echo 'source $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc
COPY --from=builder /gildas-exe-$release .
echo '. $GAG_ROOT_DIR/etc/bash_profile' >> /etc/bash.bashrc
COPY --from=builder /gildas-exe-$release /gildas-exe-$release
......@@ -52,5 +52,5 @@ docker run -it --hostname "gildas" -u $(id -u) \
-v "/etc/passwd:/etc/passwd:ro" \
-v "/home/$USER:/home/$USER" \
-v "/tmp/.X11-unix:/tmp/.X11-unix" \
abeelen/gildas:feb17c /bin/bash
abeelen/gildas:latest /bin/bash --rcfile /etc/bash.bashrc
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment