diff --git a/contrib/container/Dockerfile b/contrib/container/Dockerfile index 475b6f7604..ff8d4b3229 100644 --- a/contrib/container/Dockerfile +++ b/contrib/container/Dockerfile @@ -9,7 +9,7 @@ # - Runs InvenTree web server under django development server # - Monitors source files for any changes, and live-reloads server -ARG base_image=python:3.11-alpine3.18 +ARG base_image=python:3.11-alpine3.21 FROM ${base_image} AS inventree_base ARG base_image @@ -69,8 +69,8 @@ RUN apk add --no-cache \ libjpeg libwebp zlib \ # Weasyprint requirements : https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#alpine-3-12 py3-pip py3-pillow py3-cffi py3-brotli pango poppler-utils openldap \ - # Postgres client - postgresql13-client \ + # Postgres client (note: backwards compatible with postgres server <= 17) + postgresql17-client \ # MySQL / MariaDB client mariadb-client mariadb-connector-c \ && \ diff --git a/contrib/container/install_build_packages.sh b/contrib/container/install_build_packages.sh index bbeae43a54..bef3702226 100644 --- a/contrib/container/install_build_packages.sh +++ b/contrib/container/install_build_packages.sh @@ -8,5 +8,5 @@ apk add gcc g++ musl-dev openssl-dev libffi-dev cargo python3-dev openldap-dev \ jpeg-dev openjpeg-dev libwebp-dev zlib-dev \ sqlite sqlite-dev \ mariadb-connector-c-dev mariadb-client mariadb-dev \ - postgresql13-dev postgresql-libs \ + postgresql17-dev postgresql-libs \ $@