From a8c2c396ed26224e4e06599dbd9f79bb2637d9f5 Mon Sep 17 00:00:00 2001 From: Christopher Allen Lane Date: Mon, 4 Jul 2022 13:13:27 -0400 Subject: [PATCH] feat(build): crate `docker-run` target Create a `docker-run` `make` target for opening a shell in an Alpine container for development. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 469e1ae..8f81521 100644 --- a/Makefile +++ b/Makefile @@ -180,6 +180,11 @@ prepare: | $(dist_dir) clean generate vendor fmt lint vet test docker-setup: $(DOCKER) build -t $(docker_image) -f Dockerfile . +## docker-run: shell into the development docker container +.PHONY: docker-run +docker-run: + $(DOCKER) run -v `pwd`:/app -ti $(docker_image) sh + ## docker-sh: shell into the docker development container .PHONY: docker-sh docker-sh: