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: I32efb0e795da10fbc4d4bf800820c58194a586ba
This commit is contained in:
Paul Bourke 2017-08-15 15:42:18 +01:00
parent bc88ec963f
commit 6702e6cfff
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 /