Cleanup packages already installed in scripts
Change-Id: I9c2479bb2b2096d98bc5c190acf26cad98d4aaa5
This commit is contained in:
parent
e8e9a8db33
commit
0432737f71
@ -13,7 +13,7 @@ ARG OVERRIDE=override
|
|||||||
ADD $OVERRIDE /
|
ADD $OVERRIDE /
|
||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& yum install -y python curl git \
|
&& yum install -y git \
|
||||||
&& 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 \
|
||||||
|
2
debian/Dockerfile
vendored
2
debian/Dockerfile
vendored
@ -14,7 +14,7 @@ ADD $OVERRIDE /
|
|||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends python ca-certificates curl git \
|
&& apt-get install -y --no-install-recommends git \
|
||||||
&& 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 \
|
||||||
|
@ -14,7 +14,7 @@ ADD $OVERRIDE /
|
|||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends python ca-certificates curl git \
|
&& apt-get install -y --no-install-recommends git \
|
||||||
&& 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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user