fix: add g++ to deploy Dockerfile for cc-rs compilation

rust:1.91-slim doesn't include a C++ compiler, which cc-rs needs.
The standalone/cluster Dockerfiles use the full rust:1.91 image so
they weren't affected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alan Kahn 2026-03-03 14:53:48 -05:00
parent dd6c709cbe
commit 889c746bc1

View File

@ -1,6 +1,6 @@
FROM rust:1.91-slim AS builder FROM rust:1.91-slim AS builder
WORKDIR /build WORKDIR /build
RUN apt-get update && apt-get install -y pkg-config libssl-dev && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y pkg-config libssl-dev g++ && rm -rf /var/lib/apt/lists/*
# Copy workspace manifests first for layer caching. # Copy workspace manifests first for layer caching.
COPY Cargo.toml Cargo.lock ./ COPY Cargo.toml Cargo.lock ./