From b5a86db1f482383c03144138adb04f7d9e7449bb Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Tue, 15 Aug 2017 15:41:08 +0100 Subject: [PATCH] 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 --- centos/Dockerfile | 1 + debian/Dockerfile | 1 + ubuntu/Dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/centos/Dockerfile b/centos/Dockerfile index b6c5649..1eaa30d 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -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 / diff --git a/debian/Dockerfile b/debian/Dockerfile index 7512387..efd83dc 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -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 / diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index f46d95e..f05c899 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -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 /