docker-steemd/Makefile
2016-08-18 13:50:02 +02:00

20 lines
378 B
Makefile

BUILD_ARGS := --build-arg UBUNTU_MIRROR="mirror://mirrors.ubuntu.com/mirrors.txt"
ifdef UBUNTU_MIRROR
BUILD_ARGS := --build-arg UBUNTU_MIRROR="$(UBUNTU_MIRROR)"
endif
default: build
build: kill
docker build \
-t sneak/steemd \
$(BUILD_ARGS) \
.
run: kill
docker run --name sneak-steemd -d sneak/steemd
docker logs -f sneak-steemd
kill:
-docker rm -f sneak-steemd