2023-04-11 11:29:32 -07:00

12 lines
267 B
Makefile

image_name := go-v0.22
image.json: Dockerfile main.go go.mod go.sum
IMAGE_NAME=${image_name} ../../../dockerBuildWrapper.sh .
docker image inspect ${image_name} -f "{{.Id}}" | \
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
.PHONY: clean
clean:
rm image.json