Skip to content

Commit ccab30f

Browse files
committed
update to debian bookworm
1 parent e3697d5 commit ccab30f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A base ocfweb Dockerfile containing the code and dependencies.
22
# This doesn't run the website or the background worker; see Dockerfile.* for those.
3-
FROM theocf/debian:bullseye-py AS base
3+
FROM theocf/debian:bookworm AS base
44

55
RUN apt-get update \
66
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
@@ -18,6 +18,7 @@ RUN apt-get update \
1818
nginx \
1919
python3-dev \
2020
python3-pip \
21+
python3-virtualenv \
2122
python-is-python3 \
2223
redis-tools \
2324
runit \
@@ -26,12 +27,10 @@ RUN apt-get update \
2627
&& apt-get clean \
2728
&& rm -rf /var/lib/apt/lists/*
2829

29-
RUN pip3 install virtualenv
30-
3130
RUN install -d --owner=nobody /opt/ocfweb /opt/ocfweb/venv /etc/ocfweb
3231

3332
COPY requirements.txt /opt/ocfweb/
34-
RUN virtualenv -ppython3.9 /opt/ocfweb/venv \
33+
RUN virtualenv -ppython3.11 /opt/ocfweb/venv \
3534
&& /opt/ocfweb/venv/bin/pip install \
3635
-r /opt/ocfweb/requirements.txt
3736

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ django-mathfilters==1.0.0
2323
django-prometheus==2.1.0
2424
django-redis==5.0.0
2525
dnspython==2.1.0
26-
greenlet==1.1.1
26+
greenlet==3.2.4
2727
gunicorn==20.1.0
2828
idna==2.10
2929
importlib-metadata==4.8.1
@@ -33,7 +33,7 @@ kombu<6
3333
ldap3==2.9.1
3434
libsass==0.21.0
3535
MarkupSafe==2.0.1
36-
matplotlib==3.4.3
36+
matplotlib==3.10.5
3737
mistune==0.8.4
3838
numpy<1.25
3939
ocflib>=2024.4.23

0 commit comments

Comments
 (0)