mirror of
https://github.com/cheat/cheat.git
synced 2024-11-21 13:31:36 +01:00
feat(build): crate docker-run
target
Create a `docker-run` `make` target for opening a shell in an Alpine container for development.
This commit is contained in:
parent
35262df4f2
commit
a8c2c396ed
5
Makefile
5
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:
|
||||
|
Loading…
Reference in New Issue
Block a user