From 48ff02839f99ceed53498f9fb0b31b9ae4bd4f8b Mon Sep 17 00:00:00 2001 From: 3_1_3_u Date: Mon, 20 Nov 2017 21:29:07 +0200 Subject: [PATCH] Images Ubuntu 16.04, optimization and reduce image size (#204) --- app/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index 9432233..47117a0 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:14.04 +FROM ubuntu:16.04 # Some ENV variables ENV PATH="/mattermost/bin:${PATH}" @@ -9,10 +9,11 @@ ARG edition=entreprise # Install some needed packages RUN apt-get update \ - && apt-get -y install \ + && apt-get -y --no-install-recommends install \ curl \ jq \ netcat \ + ca-certificates \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin # Get Mattermost