Minor corrections

This commit is contained in:
Riccardo Biraghi
2018-04-23 15:07:36 +01:00
parent c9e7ae194e
commit 1cba663922
2 changed files with 3 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ ARCH = $(shell uname -m)
BUILD_SERVER_CONTAINER=build-server
# NUM_CPU is the number of CPUs available to Docker. Used to control how many
# test run in parallel
NUM_CPU=$(shell docker info --format "{{ .NCPU }}")
NUM_CPU=$(shell docker info --format "{{ .NCPU }}" || 1)
# BASE_IMAGE_TAG is a normalized version of BASE_IMAGE, suitable for use in a Docker tag
BASE_IMAGE_TAG=$(subst /,-,$(subst :,-,$(BASE_IMAGE)))
MQ_IMAGE_DEVSERVER_BASE=mqadvanced-server-dev-base:$(MQ_VERSION)-$(ARCH)-$(BASE_IMAGE_TAG)