htknow/Dockerfile.rust-builder
Xulilong 1a7ea2beb5
Some checks failed
CI / Frontend (Vite) (push) Successful in 37s
CI / Docker Release Tar (push) Has been skipped
CI / Backend (Rust) (push) Failing after 9m3s
fix image parsing and add docker build script
2026-07-24 15:24:07 +08:00

11 lines
397 B
Docker

# Pinned to Debian Bookworm so the compiled binary is compatible with the
# Debian Bookworm runtime image used by Dockerfile (GLIBC 2.36).
FROM rust:1-bookworm
ENV DEBIAN_FRONTEND=noninteractive
# lance-* generates protobuf bindings during compilation.
RUN apt-get update \
&& apt-get install -y --no-install-recommends protobuf-compiler libprotobuf-dev \
&& rm -rf /var/lib/apt/lists/*