Skip to content

Commit

Permalink
[chores] Fixed dev docker image (updated Python to 3.9.19)
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Mar 22, 2024
1 parent 069f206 commit fb0ee88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
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 \
libgeos-dev libspatialite-dev libsqlite3-mod-spatialite \
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 && \
Expand Down

0 comments on commit fb0ee88

Please sign in to comment.