deps: bump python, debian

pull/1/head
radex 2023-09-19 21:59:21 +02:00
parent 7146f23ed9
commit 4e8fcf28b8
4 changed files with 7 additions and 7 deletions

View File

@ -1 +1 @@
3.8.17
3.9

View File

@ -1,5 +1,5 @@
# The builder image, used to build the virtual environment
FROM python:3.8-buster as builder
FROM python:3.9-bookworm as builder
RUN apt-get update && \
apt-get install -y libkrb5-dev libsasl2-dev libldap2-dev libssl-dev && \
@ -22,9 +22,9 @@ RUN poetry install --no-root && \
rm -rf $POETRY_CACHE_DIR
# The runtime image, used to just run the code provided its virtual environment
FROM python:3.8-slim-buster as runtime
FROM python:3.9-slim-bookworm as runtime
RUN apt-get update && \
apt-get install -y libldap2-dev krb5-user --no-install-recommends && \
apt-get install -y libldap2-dev krb5-user libxml2 --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
COPY krb5.conf /etc/krb5.conf

4
poetry.lock generated
View File

@ -242,5 +242,5 @@ locale = ["Babel (>=1.3)"]
[metadata]
lock-version = "2.0"
python-versions = "~3.8"
content-hash = "cf39819badbc18706d7fd00121f9527f11a525eb2f5f4d6467690faf81bb0d45"
python-versions = "~3.9"
content-hash = "616abf1d52f6061fb3883ceba7ca4b824caedb1f9e354e5bfe4171a7a83d04b9"

View File

@ -6,7 +6,7 @@ authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.8"
python = "~3.9"
Flask = "1.1.1"
Flask-WTF = "0.14.2"
itsdangerous = "1.1.0"