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: I6c09e5ea5249be946f5f4db25dfc3877795912a5
This commit is contained in:
Paul Bourke 2017-08-15 15:40:26 +01:00
parent 5864380872
commit 835bde41dc
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 /