From 83102c7cc8769e60ced410e4e68f0aa0f7b001ed Mon Sep 17 00:00:00 2001 From: Jamil Date: Tue, 21 Jan 2025 21:40:51 -0800 Subject: [PATCH] fix: Add openssl-dev build req to rust Dockerfile (#7824) #7808 introduced a minor bug that prevented the rust Docker images from building locally, in `debug` builds. Adding `openssl-dev` to the builder's container fixes the issue. ``` cargo:warning=Could not find directory of OpenSSL installation, and this `-sys` crate cannot proceed without this knowledge. If OpenSSL is installed and this crate had trouble finding it, you can set the `OPENSSL_DIR` environment variable for the compilation process. See stderr section below for further information. ``` --- rust/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/Dockerfile b/rust/Dockerfile index e53cdf8e4..809b69143 100644 --- a/rust/Dockerfile +++ b/rust/Dockerfile @@ -10,6 +10,7 @@ ARG PACKAGE FROM rust:${RUST_VERSION}-alpine${ALPINE_VERSION} AS chef ARG CARGO_CHEF_VERSION +# openssl-dev can be removed after https://github.com/tauri-apps/tauri/pull/12445 is shipped RUN set -xe \ && apk add --no-cache musl-dev openssl-dev \ && cargo install cargo-chef --locked --version=${CARGO_CHEF_VERSION} \