diff --git a/17.0/Dockerfile b/17.0/Dockerfile index 4396e5fd7..6cdefeea2 100644 --- a/17.0/Dockerfile +++ b/17.0/Dockerfile @@ -21,7 +21,6 @@ RUN apt-get update && \ gnupg \ libssl-dev \ node-less \ - npm \ python3-magic \ python3-num2words \ python3-odf \ @@ -67,7 +66,12 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main' > /etc/a && rm -rf /var/lib/apt/lists/* # Install rtlcss (on Debian buster) -RUN npm install -g rtlcss +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive \ + apt-get install -y --no-install-recommends nodejs npm \ + && npm install -g rtlcss \ + && apt-get purge --autoremove -y npm \ + && rm -rf /var/lib/apt/lists/* # Install Odoo ENV ODOO_VERSION=17.0 diff --git a/18.0/Dockerfile b/18.0/Dockerfile index 638c70b42..536767f15 100644 --- a/18.0/Dockerfile +++ b/18.0/Dockerfile @@ -21,7 +21,6 @@ RUN apt-get update && \ gnupg \ libssl-dev \ node-less \ - npm \ python3-magic \ python3-num2words \ python3-odf \ @@ -67,7 +66,12 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ noble-pgdg main' > /etc/a && rm -rf /var/lib/apt/lists/* # Install rtlcss (on Debian buster) -RUN npm install -g rtlcss +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive \ + apt-get install -y --no-install-recommends nodejs npm \ + && npm install -g rtlcss \ + && apt-get purge --autoremove -y npm \ + && rm -rf /var/lib/apt/lists/* # Install Odoo ENV ODOO_VERSION=18.0 diff --git a/19.0/Dockerfile b/19.0/Dockerfile index 50e6e1fe3..eb3654ddf 100644 --- a/19.0/Dockerfile +++ b/19.0/Dockerfile @@ -21,7 +21,6 @@ RUN apt-get update && \ gnupg \ libssl-dev \ node-less \ - npm \ python3-magic \ python3-num2words \ python3-odf \ @@ -67,7 +66,12 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ noble-pgdg main' > /etc/a && rm -rf /var/lib/apt/lists/* # Install rtlcss (on Debian buster) -RUN npm install -g rtlcss +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive \ + apt-get install -y --no-install-recommends nodejs npm \ + && npm install -g rtlcss \ + && apt-get purge --autoremove -y npm \ + && rm -rf /var/lib/apt/lists/* # Install Odoo ENV ODOO_VERSION=19.0