Commit d2837342 authored by Carlo Ferrigno's avatar Carlo Ferrigno
Browse files

Use download instead of copying

parent 1994df21
heasoft-6.28src.tar.gz
...@@ -32,6 +32,7 @@ RUN apt-get update \ ...@@ -32,6 +32,7 @@ RUN apt-get update \
wget \ wget \
xorg-dev \ xorg-dev \
vim \ vim \
firefox \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
...@@ -52,10 +53,9 @@ RUN pip3 install -r /home/heasoft/requirements.txt && \ ...@@ -52,10 +53,9 @@ RUN pip3 install -r /home/heasoft/requirements.txt && \
ARG heasoft_tarfile_suffix=src ARG heasoft_tarfile_suffix=src
#Copy to avoid downloading in development #Copy to avoid downloading in development
COPY heasoft-6.28src.tar.gz /home/heasoft #COPY heasoft-6.28src.tar.gz /home/heasoft
#RUN wget https://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/lheasoft${HEASOFT_VERSION}/heasoft-${HEASOFT_VERSION}${heasoft_tarfile_suffix}.tar.gz RUN wget https://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/lheasoft${HEASOFT_VERSION}/heasoft-${HEASOFT_VERSION}${heasoft_tarfile_suffix}.tar.gz \
&& tar xzvf heasoft-${HEASOFT_VERSION}${heasoft_tarfile_suffix}.tar.gz \
RUN tar xzvf heasoft-${HEASOFT_VERSION}${heasoft_tarfile_suffix}.tar.gz \
&& rm -f heasoft-${HEASOFT_VERSION}${heasoft_tarfile_suffix}.tar.gz \ && rm -f heasoft-${HEASOFT_VERSION}${heasoft_tarfile_suffix}.tar.gz \
&& cd ${HOME}/heasoft-${HEASOFT_VERSION}/BUILD_DIR/ \ && cd ${HOME}/heasoft-${HEASOFT_VERSION}/BUILD_DIR/ \
&& ./configure --prefix=/opt/heasoft 2>&1 | tee ${HOME}/configure.log \ && ./configure --prefix=/opt/heasoft 2>&1 | tee ${HOME}/configure.log \
......
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