fix: include shared python library during rust build step
This commit is contained in:
parent
65b5b4c36e
commit
b5dcc87459
|
@ -24,6 +24,11 @@ RUN PROTOC_ZIP=protoc-21.12-linux-x86_64.zip && \
|
|||
unzip -o $PROTOC_ZIP -d /usr/local 'include/*' && \
|
||||
rm -f $PROTOC_ZIP
|
||||
|
||||
# pyo3 depends on a shared python library
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
python3-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=planner /usr/src/recipe.json recipe.json
|
||||
RUN cargo chef cook --release --recipe-path recipe.json
|
||||
|
||||
|
|
Loading…
Reference in New Issue