Call single script in Dockerfile

Change-Id: Iec134167a5499c735cc1e0c90b16bcf5dcd7cef9
Depends-On: Ib3e923e2e06660f7b18d16eb5e6f528c82c0e854
This commit is contained in:
Sam Yaple 2017-04-13 13:45:42 +00:00
parent 8d943f8a99
commit 74f633260d
3 changed files with 3 additions and 9 deletions

View File

@ -26,6 +26,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

4
debian/Dockerfile vendored
View File

@ -30,6 +30,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

View File

@ -30,6 +30,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