From 73aaf1072ccdce34f50ab28ff7c98f1964d9a413 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Wed, 18 Jul 2018 00:05:28 +0100 Subject: [PATCH] Update centos example in README to use WHEELS It's important to specify WHEELS when building a distro other than the default. This was missing from the README example. Change-Id: Id1ab77b14e6efcc14d6e043d3c2d38883d072809 --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a3ff594..d89017da 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,11 @@ $ docker build https://git.openstack.org/openstack/loci.git --build-arg PROJECT= The default base distro is Ubuntu, however, you can use the following form to build from a distro of your choice, in this case, CentOS: ``` bash -$ docker build https://git.openstack.org/openstack/loci.git --build-arg PROJECT=keystone \ - --tag keystone:centos --build-arg FROM=centos:7 +$ docker build https://git.openstack.org/openstack/loci.git \ + --build-arg PROJECT=keystone \ + --build-arg WHEELS="loci/requirements:master-centos" \ + --build-arg FROM=centos:7 \ + --tag keystone:centos ``` If building behind a proxy, remember to use build arguments to pass these