also build osa 10.2

parent 5e91f228
......@@ -41,9 +41,17 @@ RUN cd /opt && \
ARG OSA_VERSION
RUN cd /opt && \
if [ ${OSA_VERSION} == "10.2" ]; then \
wget https://www.isdc.unige.ch/integral/download/osa/sw/10.2/osa10.2-bin-linux64.tar.gz && \
tar xvzf osa10.2-bin-linux64.tar.gz && \
rm -fv osa10.2-bin-linux64.tar.gz && \
mv osa10.2 osa; \
else \
wget https://www.isdc.unige.ch/~savchenk/gitlab-ci/savchenk/osa-build-binary-tarball/CentOS_7.5.1804_x86_64/${OSA_VERSION}/build-latest/osa-${OSA_VERSION}-CentOS_7.5.1804_x86_64.tar.gz && \
tar xvzf osa-${OSA_VERSION}-CentOS_7.5.1804_x86_64.tar.gz && \
rm -fv osa-${OSA_VERSION}-CentOS_7.5.1804_x86_64.tar.gz
rm -fv osa-${OSA_VERSION}-CentOS_7.5.1804_x86_64.tar.gz && \
mv osa11 osa; \
fi
RUN wget https://www.isdc.unige.ch/integral/download/osa/cat/osa_cat-41.0.tar.gz && \
tar xvzf osa_cat-41.0.tar.gz && \
......
......@@ -7,7 +7,7 @@ export ISDC_REF_CAT=/data/cat/hec/gnrl_refr_cat_0041.fits
export ISDC_OMC_CAT=/data/cat/omc/omc_refr_cat_0005.fits
export REP_BASE_PROD=/data
export ISDC_ENV=/opt/osa11
export ISDC_ENV=/opt/osa
source $ISDC_ENV/bin/isdc_init_env.sh
......
......@@ -5,7 +5,8 @@
COMMAND=$@
echo "OSA_DOCKER_IMAGE == ${OSA_DOCKER_IMAGE:=integralsw/osa:latest}"
echo "OSA_VERSION == ${OSA_VERSION:=latest}"
echo "OSA_DOCKER_IMAGE == ${OSA_DOCKER_IMAGE:=integralsw/osa:${OSA_VERSION}}"
echo "OSA_DOCKER_PULL == \"${OSA_DOCKER_PULL:=yes}\""
[ "$OSA_DOCKER_PULL" == "yes" ] && {
echo "will update image (set OSA_DOCKER_PULL to anything but \"yes\" to stop this)"
......
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