From 4f6d04a3ae2124ffce4122952bf76029bc3d56d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Mart=C3=ADn?= Date: Tue, 12 Feb 2019 18:21:00 +0100 Subject: [PATCH] docker bash with dynamic image --- docker-bash.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker-bash.sh b/docker-bash.sh index cf98130b..045d75cb 100755 --- a/docker-bash.sh +++ b/docker-bash.sh @@ -1,3 +1,10 @@ #!/bin/bash -docker run -it -v `pwd`:/srv carto/${1:-nodejs10-xenial-pg101:postgis-2.4.4.5} bash +echo "*********************" +echo "To install Node.js, run:" +echo "/src/nodejs-install.sh" +echo "Use NODEJS_VERSION env var to select the Node.js version" +echo "*********************" +echo " " + +docker run -it -v `pwd`:/srv carto/nodejs-xenial-pg101:latest bash