Commit 69781634 authored by Volodymyr SAVCHENKO's avatar Volodymyr SAVCHENKO

run script

parent 856902ea
#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)
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"
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