From 91a9019df72754210493d840132a94e1bc32bed7 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Fri, 17 Apr 2020 14:12:06 +0200 Subject: [PATCH] [IMP] Odoo 11.0-13.0: avoid to install unnecessary packages --- 11.0/Dockerfile | 2 +- 12.0/Dockerfile | 4 ++-- 13.0/Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/11.0/Dockerfile b/11.0/Dockerfile index 505bc9a..640224a 100644 --- a/11.0/Dockerfile +++ b/11.0/Dockerfile @@ -46,7 +46,7 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > /etc && gpgconf --kill all \ && rm -rf "$GNUPGHOME" \ && apt-get update \ - && apt-get install -y postgresql-client \ + && apt-get install --no-install-recommends -y postgresql-client \ && rm -rf /var/lib/apt/lists/* # Install Odoo diff --git a/12.0/Dockerfile b/12.0/Dockerfile index 20d4321..887762f 100644 --- a/12.0/Dockerfile +++ b/12.0/Dockerfile @@ -46,7 +46,7 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > /etc && gpgconf --kill all \ && rm -rf "$GNUPGHOME" \ && apt-get update \ - && apt-get install -y postgresql-client \ + && apt-get install --no-install-recommends -y postgresql-client \ && rm -rf /var/lib/apt/lists/* # Install rtlcss (on Debian stretch) @@ -58,7 +58,7 @@ RUN echo "deb http://deb.nodesource.com/node_8.x stretch main" > /etc/apt/source && gpgconf --kill all \ && rm -rf "$GNUPGHOME" \ && apt-get update \ - && apt-get install -y nodejs \ + && apt-get install --no-install-recommends -y nodejs \ && npm install -g rtlcss \ && rm -rf /var/lib/apt/lists/* diff --git a/13.0/Dockerfile b/13.0/Dockerfile index f11a88c..b1bb1f5 100644 --- a/13.0/Dockerfile +++ b/13.0/Dockerfile @@ -44,7 +44,7 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' > /etc/ && gpgconf --kill all \ && rm -rf "$GNUPGHOME" \ && apt-get update \ - && apt-get install -y postgresql-client \ + && apt-get install --no-install-recommends -y postgresql-client \ && rm -rf /var/lib/apt/lists/* # Install rtlcss (on Debian buster)