Cleanup packages already installed in scripts

Change-Id: I3acf3ecdc91e493eebd30645141c90123509f534
This commit is contained in:
Paul Bourke 2017-04-12 10:13:15 +01:00
parent 981234f329
commit 94f0f6a715
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ ARG OVERRIDE=override
ADD $OVERRIDE /
RUN set -x \
&& yum install -y python curl git \
&& yum install -y git \
&& 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 \

2
debian/Dockerfile vendored
View File

@ -14,7 +14,7 @@ ADD $OVERRIDE /
RUN set -x \
&& 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 --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 \

View File

@ -14,7 +14,7 @@ ADD $OVERRIDE /
RUN set -x \
&& 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 --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 \