cinder/contrib/block-box/Makefile
John Griffith db82e4450a Add blockbox to Cinder project
This change creates a contrib directory in the Cinder tree and adds
a project called block-box.

This addition provides a method to easily create Docker images for
a standalone Cinder deployment and employs a docker-compose file to
enable rapid build and deployment of Cinder as a standlone service.

Change-Id: Id08ffefd322e80a433b58d48b8b89b1ca1695150
2017-05-23 10:07:31 -06:00

18 lines
559 B
Makefile

CINDER_BRANCH ?= master # master, stable/ocata, refs/changes/67/418167/1
NAME_PREFIX ?= ""
PLATFORM ?= debian # ubuntu, centos
TAG ?= latest
all: base lvm devbox
base:
docker build https://git.openstack.org/openstack/loci-cinder.git\#:$(PLATFORM) --tag cinder:$(TAG) --build-arg PROJECT_REF="stable/ocata"
lvm:
docker build -t cinder-lvm -f ./docker_files/Dockerfile.cinder-lvm .
devbox:
cp ../../test-requirements.txt ./docker_files/
docker build -t cinder-devenv -f ./docker_files/Dockerfile.cinder-devenv .
rm ./docker_files/test-requirements.txt