Upgrade packages for security
Change-Id: I63fc9287db1f2e62ede525541fcf98624abc745f Partial-Bug: #1683173
This commit is contained in:
parent
1c886c4955
commit
abd1149199
|
@ -11,6 +11,7 @@ ARG OVERRIDE=override
|
|||
ADD $OVERRIDE /
|
||||
|
||||
RUN set -x \
|
||||
&& yum upgrade -y \
|
||||
&& yum install -y git \
|
||||
&& git init /tmp/common/ \
|
||||
&& git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \
|
||||
|
|
|
@ -12,6 +12,7 @@ ADD $OVERRIDE /
|
|||
|
||||
RUN set -x \
|
||||
&& apt-get update \
|
||||
&& apt-get dist-upgrade -y \
|
||||
&& apt-get install -y --no-install-recommends git ca-certificates \
|
||||
&& git init /tmp/common/ \
|
||||
&& git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \
|
||||
|
|
|
@ -12,6 +12,7 @@ ADD $OVERRIDE /
|
|||
|
||||
RUN set -x \
|
||||
&& apt-get update \
|
||||
&& apt-get dist-upgrade -y \
|
||||
&& apt-get install -y --no-install-recommends git ca-certificates \
|
||||
&& git init /tmp/common/ \
|
||||
&& git --git-dir /tmp/common/.git fetch --depth 1 $SCRIPTS_REPO $SCRIPTS_REF \
|
||||
|
|
Loading…
Reference in New Issue