Skip to content
Snippets Groups Projects

Resolve L2SS-1047 "Upgrade ska base images"

Merged Hannes Feldt requested to merge L2SS-1047-upgrade_ska_base_images into master
Compare and
16 files
+ 348
393
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
2
@@ -17,7 +17,7 @@ display=${display:-${DISPLAY}}
OPTIONS="-e HOME=/hosthome -e DISPLAY=${display} -e XAUTHORITY=/hosthome/.Xauthority -e TANGO_HOST=databaseds:10000 -v ${HOME}:/hosthome -v /tmp/.X11-unix:/tmp/.X11-unix"
if [ ! -z ${XTRA_OPTIONS} ]; then
if [ -n "${XTRA_OPTIONS}" ]; then
OPTIONS="${OPTIONS} ${XTRA_OPTIONS}"
fi
@@ -31,7 +31,7 @@ fi
#docker run --rm -it --network host ${OPTIONS} nexus.engageska-portugal.pt/ska-docker/tango-java:latest ${command} ${@}
container_name=artefact.skao.int/ska-tango-images-tango-java:9.3.4
container=$(docker ps | grep -E ${container_name} | cut -d' ' -f1)
if [ ! -z "${container}" ]; then
if [ -n "${container}" ]; then
docker exec -it "${container}" ${command} "${@}"
else
echo "Container \"${container_name}\" is not running."
Loading