Add a build argument for distro

This is to be picked up in install.sh (and potentially other scripts if
needed). The scripts will attempt to determine this automatically using
/etc/*release in the case this is not specified (default behaviour).

Change-Id: I90ac26c8edc1409e7aa5a8a0641e40f7ea88ab5c
This commit is contained in:
Paul Bourke 2017-08-15 15:41:08 +01:00
parent b19ebc8924
commit b5a86db1f4
3 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ ARG PROJECT_REF=master
ARG SCRIPTS_REPO=https://github.com/openstack/loci
ARG SCRIPTS_REF=master
ARG OVERRIDE=override
ARG DISTRO
ADD $OVERRIDE /

1
debian/Dockerfile vendored
View File

@ -9,6 +9,7 @@ ARG PROJECT_REF=master
ARG SCRIPTS_REPO=https://github.com/openstack/loci
ARG SCRIPTS_REF=master
ARG OVERRIDE=override
ARG DISTRO
ADD $OVERRIDE /

View File

@ -9,6 +9,7 @@ ARG PROJECT_REF=master
ARG SCRIPTS_REPO=https://github.com/openstack/loci
ARG SCRIPTS_REF=master
ARG OVERRIDE=override
ARG DISTRO
ADD $OVERRIDE /