From fa5591765903b26db7ebcceae5677e4b0aa7ed72 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 24 Jun 2026 21:56:39 +1000 Subject: [PATCH] Update devcontainer Dockerfile (#12244) - Update to python 3.14 - Fix base packages --- .devcontainer/Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c9f9675af3..3b3fa1e979 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,9 +1,7 @@ # Dockerfile for the InvenTree devcontainer +# This container is used for development of the InvenTree project, and includes all necessary dependencies for both backend and frontend development. -# In contrast with the "production" image (which is based on an Alpine image) -# we use a Debian-based image for the devcontainer - -FROM mcr.microsoft.com/devcontainers/python:3.12-trixie@sha256:5440cb68898d190ad6c6e8a4634ce89d0645bea47f9c8beb75612bb8e3983711 +FROM mcr.microsoft.com/devcontainers/python:3.14-trixie@sha256:66af9ee0a89e76f83b5c54a0cfdc19966ec8e443e294707f8f9b45f465b42cf1 # InvenTree paths ENV INVENTREE_HOME="/home/inventree" @@ -25,10 +23,10 @@ RUN chmod +x init.sh # Install required base packages RUN apt update && apt install -y \ - python3.12-dev python3.12-venv \ + python3-dev python3-venv \ postgresql-client \ libldap2-dev libsasl2-dev \ - libpango1.0-0 libcairo2 \ + libpango-1.0-0 libcairo2 \ poppler-utils weasyprint # Install packages required for frontend development