From a7d7a42ac8527a0491c61da4e91d1cfdde982d31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pave=C5=82=20Ty=C5=9Blacki?= Date: Sat, 27 Apr 2024 23:57:15 +0100 Subject: [PATCH] update test image to ubuntu 24.04 --- CHANGES.md | 1 + Dockerfile | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ad3c561..89cc85b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ - added `ZERO_DOWNTIME_MIGRATIONS_KEEP_DEFAULT` settings and changed `ADD COLUMN DEFAULT NOT NULL` with this settings to safe operation for django<5.0 - updated unsafe migrations links to documentation - updated patched code to latest django version + - updated test image to ubuntu 24.04 - improved README ## 0.15 diff --git a/Dockerfile b/Dockerfile index 5302e5f..ce8dbb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/amd64 ubuntu:22.04 +FROM --platform=linux/amd64 ubuntu:24.04 ENV LC_ALL=C.UTF-8 ENV LANG C.UTF-8 @@ -15,10 +15,10 @@ RUN apt-get install -q -y --no-install-recommends \ python3.9 python3.9-distutils \ python3.10 python3.10-distutils \ python3.11 python3.11-distutils \ - python3.12 python3.12-distutils \ + python3.12 \ python3-pip \ - libgdal30 -RUN pip3 install setuptools tox + libgdal34 +RUN pip3 install --break-system-packages setuptools tox ADD . /app WORKDIR /app