From 35c35dc44df0a2e3864eb00d51cb84414fc8af92 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Fri, 11 Aug 2017 11:40:10 +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: I83927e2f32424c45e71ba03de9cd705fa89e9102 --- centos/Dockerfile | 1 + debian/Dockerfile | 1 + ubuntu/Dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/centos/Dockerfile b/centos/Dockerfile index c641fa0..99bfc3f 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -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 / diff --git a/debian/Dockerfile b/debian/Dockerfile index b364144..844eec3 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -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 / diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index b737c1c..d0c698b 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -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 /