about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-21 19:32:40 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-21 19:32:52 -0700
commitf6ac76a7b42b10ba26ee036b4a1311b3dac697bb (patch)
treedec508fad36751cc087fbe2eaa029c88d7044e47
parentstatic: add ssh-key from desktop (diff)
downloadfcuny.net-f6ac76a7b42b10ba26ee036b4a1311b3dac697bb.tar.gz
build: be explicit about the image to use
If we're not explicit, we're trying to run the image tagged `latest',
but there's no image with that tag.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b117922..81174c9 100644
--- a/Makefile
+++ b/Makefile
@@ -29,4 +29,4 @@ docker-build:
 
 docker-run: docker-build
 	@echo "Running Docker image ..."
-	$(DOCKER) run -ti --rm -p 8080:8080 $(DOCKER_IMAGE)
+	$(DOCKER) run -ti --rm -p 8080:8080 "${DOCKER_IMAGE}:${DOCKER_IMAGE_REF}"