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: I83927e2f32424c45e71ba03de9cd705fa89e9102
This commit is contained in:
Paul Bourke 2017-08-11 11:40:10 +01:00
parent df88026ad9
commit 35c35dc44d
3 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,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

@ -8,6 +8,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

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