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
69781634
Commit
69781634
authored
Aug 29, 2018
by
Volodymyr SAVCHENKO
Browse files
run script
parent
856902ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
Makefile
Makefile
+4
-2
run.sh
run.sh
+6
-1
No files found.
Makefile
View file @
69781634
#
IMAGE?=integralsw/osa:11.0
IMAGE
?=
integralsw/osa:latest
IMAGE
?=
integralsw/osa:11.0
IMAGE
_LATEST
?=
integralsw/osa:latest
#IMAGE?=cdcihn.isdc.unige.ch:443/integral-osa:11.0
push
:
build
docker push
$(IMAGE)
docker push
$(IMAGE_LATEST)
build
:
Dockerfile
docker build
.
-t
$(IMAGE)
docker build
.
-t
$(IMAGE_LATEST)
run.sh
View file @
69781634
COMMAND
=
$@
echo
"REP_BASE_PROD:
${
REP_BASE_PROD
:?
}
"
echo
"CURRENT_IC:
${
CURRENT_IC
:?
}
"
mkdir
-pv
/tmp/osa-home-
$$
mkdir
-pv
/tmp/osa-home-
$$
-pfiles
...
...
@@ -9,4 +14,4 @@ docker run \
-v
$REP_BASE_PROD
:/data/rep_base_prod
\
-v
$CURRENT_IC
:/data/current_ic
\
--rm
-it
--user
$(
id
-u
)
\
integralsw/osa:11.0 bash
-c
'
export HOME=/home/integral; source init.sh;
ibis_science_analysis'
integralsw/osa:11.0 bash
-c
"
export HOME=/home/integral; source init.sh;
$COMMAND
"
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