Updating base container versions. RE:#1952

This commit is contained in:
James Douglass 2025-05-27 12:17:17 -07:00
parent 36a7d48f13
commit d73143954c
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1
# Build the InVEST wheel in a separate container stage
FROM debian:12.2 AS build
FROM debian:12.11 AS build
ARG INVEST_VERSION="main"
ARG INVEST_REPO="natcap/invest"
RUN apt update && apt install -y python3 python3-dev python3-pip python3-build build-essential git python3.11-venv libgdal-dev
@ -12,7 +12,7 @@ RUN cd / && \
python3 -m build
# Create the container for distribution that has runtime dependencies.
FROM mambaorg/micromamba:1.5.0-bookworm-slim
FROM mambaorg/micromamba:2.1.1-debian12-slim
# Python version should match the version used in stage 1.
# If we update the stage 1 debian version, also update this python version
ARG PYTHON_VERSION="3.11"