Commit 1994df21 authored by Carlo Ferrigno's avatar Carlo Ferrigno
Browse files

Do not remove source files to compile Xspec local models !

parent ccff150a
......@@ -31,6 +31,7 @@ RUN apt-get update \
tcsh \
wget \
xorg-dev \
vim \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
......@@ -71,7 +72,9 @@ RUN tar xzvf heasoft-${HEASOFT_VERSION}${heasoft_tarfile_suffix}.tar.gz \
&& cd \
&& gzip -9 ${HOME}/*.log \
&& cp -p ${HOME}/heasoft-${HEASOFT_VERSION}/Release_Notes* /opt/heasoft/
# && rm -rf ${HOME}/heasoft-${HEASOFT_VERSION}*
# I cannot remove these files, otherwise, we cannot build local models !!
#RUN rm -rf *.log.gz /home/heasoft/heasoft-6.28
# Configure shells...
RUN /bin/echo >> /home/heasoft/.bashrc \
......
......@@ -17,3 +17,7 @@ image:
latest: image
@echo "Tagging Docker image ${IMAGE_NAME}:${IMAGE_LABEL} with latest..."
-$(DOCKER) tag `$(DOCKER) image ls --format '{{.ID}}' $(IMAGE_NAME):$(IMAGE_LABEL)` $(IMAGE_NAME):latest
push: latest
-$(DOCKER) push ${IMAGE_NAME}:${IMAGE_LABEL}
-$(DOCKER) push ${IMAGE_NAME}:latest
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