Add extra dollar in Makefile/image
Signed-off-by: Jose Bigio <jose.bigio@docker.com> Upstream-commit: 65a9bb677ebffccb2d5d1002c3e1bdd4dd46d76c Component: packaging
This commit is contained in:
@ -28,7 +28,7 @@ $(ENGINE_DIR)/Dockerfile.engine:
|
||||
image-linux: $(ENGINE_DIR)/Dockerfile.engine
|
||||
docker build -t $(DOCKER_HUB_ORG)/$(ENGINE_IMAGE):$(STATIC_VERSION).$(ARCH) \
|
||||
--build-arg VERSION=$(STATIC_VERSION) \
|
||||
--build-arg DOCKER_GITCOMMIT=$(cd $(ENGINE_DIR) && git rev-parse --short=7 HEAD) \
|
||||
--build-arg DOCKER_GITCOMMIT=$$(cd $(ENGINE_DIR) && git rev-parse --short=7 HEAD) \
|
||||
--file $< $(ENGINE_DIR)
|
||||
echo $(DOCKER_HUB_ORG)/$(ENGINE_IMAGE):$(STATIC_VERSION).$(ARCH) > $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user