diff --git a/Dockerfile b/Dockerfile index 4eb268fd..c0354059 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Build stage: Install python dependencies # === -FROM ubuntu:focal AS python-dependencies +FROM ubuntu:jammy AS python-dependencies RUN apt-get update && apt-get install --no-install-recommends --yes python3-pip python3-setuptools python3-wheel build-essential ADD requirements.txt /tmp/requirements.txt RUN pip3 config set global.disable-pip-version-check true @@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache/pip pip3 install --user --requirement # Build the production image # === -FROM ubuntu:focal +FROM ubuntu:jammy # Install python and import python dependencies RUN apt-get update && apt-get install --no-install-recommends --yes python3-setuptools python3-lib2to3 python3-pkg-resources ca-certificates libsodium-dev gpg diff --git a/requirements.txt b/requirements.txt index 59224637..8dd5c2be 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,9 +6,9 @@ launchpadlib==1.11.0 macaroonbakery==1.3.4 marshmallow==3.20.2 python-dateutil==2.8.2 +webargs==8.2.0 psycopg2-binary==2.9.9 SQLAlchemy==1.4.51 -webargs==6.1.1 sortedcontainers==2.4.0 Flask-SQLAlchemy==2.5.1 Flask-Migrate==3.1.0