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:
parent
dd6c709cbe
commit
889c746bc1
@ -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 ./
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user