docker-steemd/Makefile

20 lines
378 B
Makefile
Raw Normal View History

2016-08-18 11:50:02 +00:00
BUILD_ARGS := --build-arg UBUNTU_MIRROR="mirror://mirrors.ubuntu.com/mirrors.txt"
ifdef UBUNTU_MIRROR
BUILD_ARGS := --build-arg UBUNTU_MIRROR="$(UBUNTU_MIRROR)"
endif
2016-08-18 10:19:41 +00:00
default: build
build: kill
2016-08-18 11:50:02 +00:00
docker build \
-t sneak/steemd \
$(BUILD_ARGS) \
.
2016-08-18 10:19:41 +00:00
run: kill
docker run --name sneak-steemd -d sneak/steemd
docker logs -f sneak-steemd
kill:
-docker rm -f sneak-steemd