diff options
author | Franck Cuny <franck@fcuny.net> | 2021-10-21 19:32:40 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-10-21 19:32:52 -0700 |
commit | f6ac76a7b42b10ba26ee036b4a1311b3dac697bb (patch) | |
tree | dec508fad36751cc087fbe2eaa029c88d7044e47 | |
parent | static: add ssh-key from desktop (diff) | |
download | fcuny.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-- | Makefile | 2 |
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}" |