From fb0ee88148c72399ec428d44d66bf1032e3a5d2c Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Fri, 22 Mar 2024 11:23:20 -0300 Subject: [PATCH] [chores] Fixed dev docker image (updated Python to 3.9.19) --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 44e0b890a..436180c3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.5-slim-buster +FROM python:3.9.19-slim-bullseye RUN apt update && \ apt install --yes zlib1g-dev libjpeg-dev gdal-bin libproj-dev \ @@ -6,6 +6,8 @@ RUN apt update && \ sqlite3 libsqlite3-dev openssl libssl-dev fping && \ rm -rf /var/lib/apt/lists/* /root/.cache/pip/* /tmp/* +RUN pip install -U pip setuptools wheel + COPY requirements-test.txt requirements.txt /opt/openwisp/ RUN pip install -r /opt/openwisp/requirements.txt && \ pip install -r /opt/openwisp/requirements-test.txt && \