From 810b627e7ae1bc5c72981d5d739785856091ef4c Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Sun, 3 Mar 2019 12:13:08 +0800 Subject: [PATCH] Do apt upgrade (#30) --- Dockerfile-56 | 21 +++++++++++---------- Dockerfile-70 | 21 +++++++++++---------- Dockerfile-71 | 5 +++-- Dockerfile-72 | 5 +++-- Dockerfile-73 | 5 +++-- 5 files changed, 31 insertions(+), 26 deletions(-) diff --git a/Dockerfile-56 b/Dockerfile-56 index 909c35d..61de71b 100644 --- a/Dockerfile-56 +++ b/Dockerfile-56 @@ -19,16 +19,17 @@ LABEL maintainer="Mahmoud Zalt " # Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev", # "libpng12-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev", RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - libmemcached-dev \ - libz-dev \ - libpq-dev \ - libjpeg-dev \ - libpng-dev \ - libfreetype6-dev \ - libssl-dev \ - libmcrypt-dev + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends \ + curl \ + libmemcached-dev \ + libz-dev \ + libpq-dev \ + libjpeg-dev \ + libpng-dev \ + libfreetype6-dev \ + libssl-dev \ + libmcrypt-dev # Install the PHP mcrypt extention RUN docker-php-ext-install mcrypt diff --git a/Dockerfile-70 b/Dockerfile-70 index e8759fc..230ec29 100644 --- a/Dockerfile-70 +++ b/Dockerfile-70 @@ -19,16 +19,17 @@ LABEL maintainer="Mahmoud Zalt " # Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev", # "libpng12-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev", RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - curl \ - libmemcached-dev \ - libz-dev \ - libpq-dev \ - libjpeg-dev \ - libpng-dev \ - libfreetype6-dev \ - libssl-dev \ - libmcrypt-dev + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends \ + curl \ + libmemcached-dev \ + libz-dev \ + libpq-dev \ + libjpeg-dev \ + libpng-dev \ + libfreetype6-dev \ + libssl-dev \ + libmcrypt-dev # Install the PHP mcrypt extention RUN docker-php-ext-install mcrypt diff --git a/Dockerfile-71 b/Dockerfile-71 index 317ccbb..22ab186 100644 --- a/Dockerfile-71 +++ b/Dockerfile-71 @@ -18,8 +18,9 @@ LABEL maintainer="Mahmoud Zalt " # Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev", # "libpng12-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev", -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends \ curl \ libmemcached-dev \ libz-dev \ diff --git a/Dockerfile-72 b/Dockerfile-72 index 802d633..3c4d241 100644 --- a/Dockerfile-72 +++ b/Dockerfile-72 @@ -18,8 +18,9 @@ LABEL maintainer="Mahmoud Zalt " # Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev", # "libpng-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev", -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends \ curl \ libmemcached-dev \ libz-dev \ diff --git a/Dockerfile-73 b/Dockerfile-73 index 9d21b02..16e1b0a 100644 --- a/Dockerfile-73 +++ b/Dockerfile-73 @@ -18,8 +18,9 @@ LABEL maintainer="Mahmoud Zalt " # Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev", # "libpng-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev", -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y --no-install-recommends \ curl \ libmemcached-dev \ libz-dev \