25 lines
405 B
Makefile
25 lines
405 B
Makefile
|
|
DOCKER_IMAGE=glenux/openstack
|
|
|
|
all: build
|
|
|
|
build:
|
|
shards install
|
|
shards build --error-trace
|
|
|
|
docker: docker-build docker-test docker-push
|
|
|
|
docker-build:
|
|
docker build --file docker/Dockerfile -t $(DOCKER_IMAGE) .
|
|
|
|
docker-push:
|
|
docker push $(DOCKER_IMAGE)
|
|
|
|
docker-test:
|
|
docker run $(DOCKER_IMAGE) arkisto --version
|
|
|
|
docker-save:
|
|
docker save $(DOCKER_IMAGE)
|
|
|
|
docker-load:
|
|
docker load $(DOCKER_IMAGE)
|