silence is golden

This commit is contained in:
Stephen McQuay 2018-04-17 12:03:44 -07:00
parent 3fb9fadfb1
commit 805db63c76
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5

View File

@ -1,18 +1,18 @@
GOFILES := $(shell find . -type f | grep go$$ )
build/lim: build ${GOFILES}
docker build -t smcquay/lim:build . -f Dockerfile.build
docker create --name ext smcquay/lim:build
docker cp ext:/usr/local/bin/lim build/
docker rm -f ext
docker image rm smcquay/lim:build
@docker build -t smcquay/lim:build . -f Dockerfile.build > /dev/null
@docker create --name ext smcquay/lim:build > /dev/null
@docker cp ext:/usr/local/bin/lim build/ > /dev/null
@docker rm -f ext > /dev/null
@docker image rm smcquay/lim:build > /dev/null
build:
@mkdir build
.PHONY: docker-image
docker-image: build/lim
docker build --no-cache -t smcquay/lim:latest .
@docker build --no-cache -t smcquay/lim:latest . > /dev/null
.PHONY: clean
clean: