Tag build image with current git commit

This commit is contained in:
Bryan Boreham committed 2018-07-30 10:09:07 +00:00
1 parent 76ee9874d6
commit 0164d24583
1 file changed
+1
+1
View File
@@ -246,6 +246,7 @@ endif
# It also makes sure the multiarch hooks are reqistered in the kernel so the QEMU emulation works
$(BUILD_UPTODATE): build/*
$(SUDO) docker build -t $(BUILD_IMAGE) build/
$(SUDO) docker tag $(BUILD_IMAGE) $(BUILD_IMAGE):$(shell tools/image-tag)
$(SUDO) docker run --rm --privileged multiarch/qemu-user-static:register --reset
touch $@