2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-07-04 06:00:38 +00:00

Update devcontainer Dockerfile (#12244)

- Update to python 3.14
- Fix base packages
This commit is contained in:
Oliver
2026-06-24 21:56:39 +10:00
committed by GitHub
parent de736ee5de
commit fa55917659
+4 -6
View File
@@ -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