wip
This commit is contained in:
7
Makefile
7
Makefile
@@ -43,18 +43,13 @@ local-format: ## format locally all files
|
||||
gofmt -s -l -w .
|
||||
|
||||
.PHONY: build
|
||||
build: sources-image ## Build the docker image with application binary
|
||||
build: ## Build the docker image with application binary
|
||||
@echo "+ $@"
|
||||
docker build --no-cache \
|
||||
-f containers/Dockerfile \
|
||||
--build-arg SOURCES_IMAGE=$(NAME)-sources:$(VERSION) \
|
||||
-t poketools:$(VERSION) .
|
||||
|
||||
GIT_CREDENTIALS?=$(shell cat ~/.git-credentials 2> /dev/null)
|
||||
.PHONY: sources-image
|
||||
sources-image: ## Generate a Docker image with only the sources
|
||||
@echo "+ $@"
|
||||
docker build -t $(NAME)-sources:$(VERSION) -f containers/Dockerfile.sources .
|
||||
|
||||
|
||||
.PHONY: local-run-dependencies
|
||||
|
||||
Reference in New Issue
Block a user