From 6fb99219fb625e7a0be1e24be257dfbf3ac00e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Bayo=C3=A1n=20Santiago=20Calder=C3=B3n?= Date: Wed, 29 Jan 2020 10:54:37 -0500 Subject: [PATCH] Standardize the Julia version Julia prints a bit more so we make it conformant with the rest. --- datascience-notebook/hooks/apply_tags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datascience-notebook/hooks/apply_tags b/datascience-notebook/hooks/apply_tags index 5bb4713d..6e7645f8 100644 --- a/datascience-notebook/hooks/apply_tags +++ b/datascience-notebook/hooks/apply_tags @@ -9,7 +9,7 @@ PY_VERSION_TAG="python-$(docker run --rm ${IMAGE_NAME} python --version 2>&1 | a docker tag $IMAGE_NAME "$DOCKER_REPO:$PY_VERSION_TAG" R_VERSION_TAG=="hub-$(docker run --rm -a STDOUT ${IMAGE_NAME} R --version | tr -d '\r')" docker tag $IMAGE_NAME "$DOCKER_REPO:${R_VERSION_TAG%%\r}" -JULIA_VERSION_TAG=="hub-$(docker run --rm -a STDOUT ${IMAGE_NAME} julia --version | tr -d '\r')" +JULIA_VERSION_TAG=="hub-$(docker run --rm -a STDOUT ${IMAGE_NAME} julia --version | tr -d '\r' | tr -d '[a-z| ]')" docker tag $IMAGE_NAME "$DOCKER_REPO:${JULIA_VERSION_TAG%%\r}" NB_VERSION_TAG="notebook-$(docker run --rm -a STDOUT ${IMAGE_NAME} jupyter-notebook --version | tr -d '\r')" docker tag $IMAGE_NAME "$DOCKER_REPO:${NB_VERSION_TAG%% }"