db_auto_build is invoking `make` since we have a `Makefile` in the project root. Since we don't need this to be invoked when building the Debian package at all, just move the Makefile to a different name (and update docs) to avoid having to reconfigure the debuild build.
14 lines
263 B
Docker
14 lines
263 B
Docker
DOCKER_REPOSITORY ?= spotify/docker-gc
|
|
DOCKER_TAG ?= $(shell cat version.txt)
|
|
|
|
DOCKER ?= docker
|
|
export DOCKER
|
|
|
|
.PHONY: all image push
|
|
|
|
image:
|
|
$(DOCKER) build -t $(DOCKER_REPOSITORY):$(DOCKER_TAG) .
|
|
|
|
push: image
|
|
$(DOCKER) push $(DOCKER_REPOSITORY):$(DOCKER_TAG)
|