docker bash with dynamic image
This commit is contained in:
parent
0e26d5ba5a
commit
4f6d04a3ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user