Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Volodymyr SAVCHENKO
osa-docker
Commits
a7f09e5f
Verified
Commit
a7f09e5f
authored
Oct 10, 2018
by
Volodymyr SAVCHENKO
Browse files
also build osa 10.2
parent
5e91f228
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
Dockerfile
Dockerfile
+11
-3
init.sh
init.sh
+1
-1
osa-docker.sh
osa-docker.sh
+2
-1
No files found.
Dockerfile
View file @
a7f09e5f
...
...
@@ -41,9 +41,17 @@ RUN cd /opt && \
ARG
OSA_VERSION
RUN
cd
/opt
&&
\
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
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
&&
\
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
&&
\
...
...
init.sh
View file @
a7f09e5f
...
...
@@ -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/osa
11
export
ISDC_ENV
=
/opt/osa
source
$ISDC_ENV
/bin/isdc_init_env.sh
...
...
osa-docker.sh
View file @
a7f09e5f
...
...
@@ -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)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment