From fb5a3ad3ab7246deaef0e2ad8f27c8415e7f613c Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Thu, 13 Apr 2017 13:45:25 +0000 Subject: [PATCH] Call single script in Dockerfile Change-Id: I03e38b81883d0fcd045391c943d460f663666f2e Depends-On: Ib3e923e2e06660f7b18d16eb5e6f528c82c0e854 --- centos/Dockerfile | 4 +--- debian/Dockerfile | 4 +--- ubuntu/Dockerfile | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/centos/Dockerfile b/centos/Dockerfile index 2b9d343..768464d 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -17,6 +17,4 @@ RUN set -x \ && git init /tmp/common/ \ && git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \ && git --work-tree /tmp/common --git-dir /tmp/common/.git checkout FETCH_HEAD \ - && /tmp/common/scripts/download.sh \ - && /tmp/common/scripts/install.sh \ - && /tmp/common/scripts/cleanup.sh + && /tmp/common/scripts/install.sh diff --git a/debian/Dockerfile b/debian/Dockerfile index 04acb9a..ee90f19 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -18,6 +18,4 @@ RUN set -x \ && git init /tmp/common/ \ && git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \ && git --work-tree /tmp/common --git-dir /tmp/common/.git checkout FETCH_HEAD \ - && /tmp/common/scripts/download.sh \ - && /tmp/common/scripts/install.sh \ - && /tmp/common/scripts/cleanup.sh + && /tmp/common/scripts/install.sh diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index 1baa0e4..200b3cb 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -18,6 +18,4 @@ RUN set -x \ && git init /tmp/common/ \ && git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \ && git --work-tree /tmp/common --git-dir /tmp/common/.git checkout FETCH_HEAD \ - && /tmp/common/scripts/download.sh \ - && /tmp/common/scripts/install.sh \ - && /tmp/common/scripts/cleanup.sh + && /tmp/common/scripts/install.sh