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:
@@ -1,9 +1,7 @@
|
|||||||
# Dockerfile for the InvenTree devcontainer
|
# 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)
|
FROM mcr.microsoft.com/devcontainers/python:3.14-trixie@sha256:66af9ee0a89e76f83b5c54a0cfdc19966ec8e443e294707f8f9b45f465b42cf1
|
||||||
# we use a Debian-based image for the devcontainer
|
|
||||||
|
|
||||||
FROM mcr.microsoft.com/devcontainers/python:3.12-trixie@sha256:5440cb68898d190ad6c6e8a4634ce89d0645bea47f9c8beb75612bb8e3983711
|
|
||||||
|
|
||||||
# InvenTree paths
|
# InvenTree paths
|
||||||
ENV INVENTREE_HOME="/home/inventree"
|
ENV INVENTREE_HOME="/home/inventree"
|
||||||
@@ -25,10 +23,10 @@ RUN chmod +x init.sh
|
|||||||
|
|
||||||
# Install required base packages
|
# Install required base packages
|
||||||
RUN apt update && apt install -y \
|
RUN apt update && apt install -y \
|
||||||
python3.12-dev python3.12-venv \
|
python3-dev python3-venv \
|
||||||
postgresql-client \
|
postgresql-client \
|
||||||
libldap2-dev libsasl2-dev \
|
libldap2-dev libsasl2-dev \
|
||||||
libpango1.0-0 libcairo2 \
|
libpango-1.0-0 libcairo2 \
|
||||||
poppler-utils weasyprint
|
poppler-utils weasyprint
|
||||||
|
|
||||||
# Install packages required for frontend development
|
# Install packages required for frontend development
|
||||||
|
|||||||
Reference in New Issue
Block a user