Call single script in Dockerfile
Change-Id: I28323f318a249b39d46177e9e8be2fb7acb2ca9c Depends-On: Ib3e923e2e06660f7b18d16eb5e6f528c82c0e854
This commit is contained in:
parent
975d6a06cf
commit
89b44b8531
@ -17,6 +17,4 @@ RUN set -x \
|
|||||||
&& git init /tmp/common/ \
|
&& git init /tmp/common/ \
|
||||||
&& git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \
|
&& 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 \
|
&& 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/install.sh \
|
|
||||||
&& /tmp/common/scripts/cleanup.sh
|
|
||||||
|
4
debian/Dockerfile
vendored
4
debian/Dockerfile
vendored
@ -18,6 +18,4 @@ RUN set -x \
|
|||||||
&& git init /tmp/common/ \
|
&& git init /tmp/common/ \
|
||||||
&& git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \
|
&& 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 \
|
&& 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/install.sh \
|
|
||||||
&& /tmp/common/scripts/cleanup.sh
|
|
||||||
|
@ -18,6 +18,4 @@ RUN set -x \
|
|||||||
&& git init /tmp/common/ \
|
&& git init /tmp/common/ \
|
||||||
&& git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \
|
&& 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 \
|
&& 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/install.sh \
|
|
||||||
&& /tmp/common/scripts/cleanup.sh
|
|
||||||
|
Loading…
Reference in New Issue
Block a user