From 6702e6cfff8ce8ab987af803b4ca79b75d0b44d0 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Tue, 15 Aug 2017 15:42:18 +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: I32efb0e795da10fbc4d4bf800820c58194a586ba --- centos/Dockerfile | 1 + debian/Dockerfile | 1 + ubuntu/Dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/centos/Dockerfile b/centos/Dockerfile index 4c7aaa2..67936a9 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 0bb171f..1e8c3c3 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 77ba19c..29168c7 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 /