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: Id8a36c73217a13f91e9df0c0cbed5fa7b7b2d5c2
This commit is contained in:
Paul Bourke 2017-08-15 15:39:34 +01:00
parent a5fd7a8ca2
commit a6b56b201d
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_REPO=https://github.com/openstack/loci
ARG SCRIPTS_REF=master ARG SCRIPTS_REF=master
ARG OVERRIDE=override ARG OVERRIDE=override
ARG DISTRO
ADD $OVERRIDE / 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_REPO=https://github.com/openstack/loci
ARG SCRIPTS_REF=master ARG SCRIPTS_REF=master
ARG OVERRIDE=override ARG OVERRIDE=override
ARG DISTRO
ADD $OVERRIDE / ADD $OVERRIDE /

View File

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