Commit c85ae5b8 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Set default of the used node version to 12-stretch-slim

parent 32f84543
Pipeline #12147 passed with stage
in 52 seconds
......@@ -22,6 +22,15 @@ Register a runner with GitLab Runner and configure it like this:
# Node version
When using node from within this framework, this defaults to version `12-stretch-slim` but you can change the default version by setting the environment variable `NODE_VERSION` to one of these tags:
- 8-jessie-slim
- 10-jessie-slim
- 12-stretch-slim
- 13-stretch-slim
# Credit
- [Image from jonaskello](
if [[ -z "$NODE_VERSION" ]]; then
ID=$(docker container ls --all -q -f name=^${NAME}$)
if [[ -n ${ID} ]]; then
......@@ -19,6 +22,6 @@ else
-v $(php /usr/local/bin/volume.php) \
-w ${PWD} \ >/dev/null${NODE_VERSION} >/dev/null
docker exec -it -w ${PWD} ${NAME} ${NODE_CMD} $@
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