arkisto/Makefile

26 lines
405 B
Makefile
Raw Normal View History

2022-07-09 14:19:44 +00:00
2022-07-09 18:21:20 +00:00
DOCKER_IMAGE=glenux/openstack
2022-07-09 17:35:02 +00:00
all: build
2022-07-09 14:19:44 +00:00
build:
2022-07-09 17:35:02 +00:00
shards install
shards build --error-trace
2022-07-09 14:19:44 +00:00
docker: docker-build docker-test docker-push
docker-build:
2022-07-09 18:21:20 +00:00
docker build --file docker/Dockerfile -t $(DOCKER_IMAGE) .
2022-07-09 14:19:44 +00:00
docker-push:
2022-07-09 18:21:20 +00:00
docker push $(DOCKER_IMAGE)
2022-07-09 14:19:44 +00:00
docker-test:
2022-07-09 18:21:20 +00:00
docker run $(DOCKER_IMAGE) arkisto --version
docker-save:
docker save $(DOCKER_IMAGE)
docker-load:
docker load $(DOCKER_IMAGE)