From 8f3a9e6cf0facc43af3793ab026dc6f459ded19e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 29 Feb 2024 10:48:07 +0100 Subject: [PATCH] fix(ci): refresh CI Docker image and fix Python packages install Signed-off-by: Thomas Citharel --- docker/tests/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index e09e4fb1e..7c0d5b1d2 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -1,10 +1,10 @@ FROM elixir:latest -ENV REFRESHED_AT=2023-11-20 +ENV REFRESHED_AT=2024-02-29 RUN apt-get update -yq && apt-get install -yq ca-certificates build-essential inotify-tools postgresql-client git curl gnupg xvfb libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 cmake exiftool python3-pip python3-setuptools RUN mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install nodejs -yq RUN npm install -g wait-on RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN mix local.hex --force && mix local.rebar --force -RUN pip3 --no-cache-dir install -Iv weasyprint pyexcel_ods3 +RUN pip --no-cache-dir install --break-system-packages weasyprint pyexcel-ods3 RUN curl https://dbip.mirror.framasoft.org/files/dbip-city-lite-latest.mmdb --output GeoLite2-City.mmdb -s && mkdir -p /usr/share/GeoIP && mv GeoLite2-City.mmdb /usr/share/GeoIP/