From f0ad38da0d24bc92b6fb330f4ae8b9a19d0d9612 Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Sun, 16 Apr 2017 19:52:05 +0000 Subject: [PATCH] Upgrade packages for security Change-Id: I4a83f25d1f1176ffa41a4b8dd7d64f9af13286a6 Partial-Bug: #1683173 --- centos/Dockerfile | 1 + debian/Dockerfile | 1 + ubuntu/Dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/centos/Dockerfile b/centos/Dockerfile index 97f3937..e420a50 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -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 \ diff --git a/debian/Dockerfile b/debian/Dockerfile index 0be230c..4468e95 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -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 \ diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index c2ea48d..64982dd 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -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 \