Commit d4ed68a4 authored by R.K.Garcia's avatar R.K.Garcia
Browse files

docker tweaking 2

parent 3b40de85
......@@ -59,9 +59,9 @@ install_runtime() {
test -d "${AXITOOLS_HOME}" || mkdir -p "${AXITOOLS_HOME}/lib"
pushd "${AXITOOLS_HOME}"
echo "installing ShellB3 tar ball into ${AXITOOLS_HOME}..."
tar xf "${RUNTIME}/${SB3_TARBALL}" || oops "SB3 tar ball would not extract"
test -d ShellB3 || tar xf "${RUNTIME}/${SB3_TARBALL}" || oops "SB3 tar ball would not extract"
popd
test -d "$RUNTIME_EXPECTED_LOCATION" && (mkdir ${RUNTIME_EXPECTED_LOCATION}; ln -s $AXITOOLS_HOME/ShellB3 $RUNTIME_EXPECTED_LOCATION)
test -d "$RUNTIME_EXPECTED_LOCATION" || (mkdir ${RUNTIME_EXPECTED_LOCATION}; ln -s $AXITOOLS_HOME/ShellB3 $RUNTIME_EXPECTED_LOCATION)
$RUNTIME_EXPECTED_LOCATION/ShellB3/bin/python3 -c "import netCDF4, numpy, cartopy" || oops "non-viable python runtime install"
}
......
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