Skip to content
Snippets Groups Projects
Commit 449dfd9b authored by Nigel Kukard's avatar Nigel Kukard
Browse files

fix: use --max-count for grep and output nodejs version

parent 2db2aa4f
No related branches found
No related tags found
1 merge request!3fix: use --max-count for grep and output nodejs version
......@@ -22,6 +22,8 @@
set -e
NODEJS_VERSION=$(grep "ENV NODEJS_VER" Dockerfile | head -n1 | sed -e 's/ENV NODEJS_VER=//')
NODEJS_VERSION=$(grep -m 1 "ENV NODEJS_VER" Dockerfile | sed -e 's/ENV NODEJS_VER=//')
echo "NODEJS_VERSION: $NODEJS_VERSION"
export CONTAINER_VERSION_EXTRA="$NODEJS_VERSION"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment