Skip to content

Commit 2217fa7

Browse files
committed
fix(deploy): add g++ to Rust build stage for libstdc++ linking
1 parent 2d172ee commit 2217fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/cloudrun/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN cd packages/core && npm pack && mv *.tgz /tmp/gemini-core.tgz \
1717

1818
# Stage 2: Build captain-hook (Rust binary)
1919
FROM rust:slim AS captain-hook-builder
20-
RUN apt-get update && apt-get install -y --no-install-recommends git pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*
20+
RUN apt-get update && apt-get install -y --no-install-recommends git pkg-config libssl-dev g++ && rm -rf /var/lib/apt/lists/*
2121
# Remove Rust docs to save ~500MB disk during build
2222
RUN rm -rf /usr/local/rustup/toolchains/*/share/doc
2323
RUN git clone --depth 1 https://github.com/epiphytic/captain-hook.git /build

0 commit comments

Comments
 (0)