diff --git a/Cargo.lock b/Cargo.lock index b6548fb..96fada0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1157,6 +1157,15 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-src" +version = "300.3.1+3.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7259953d42a81bf137fbbd73bd30a8e1914d6dce43c2b90ed575783a22608b91" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.102" @@ -1165,6 +1174,7 @@ checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] @@ -1389,6 +1399,7 @@ dependencies = [ "clap", "futures", "lazy_static", + "openssl", "opentelemetry", "opentelemetry-http", "opentelemetry-otlp", diff --git a/Cargo.toml b/Cargo.toml index 9ab92b0..b48b1fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ version = "0.0.3" edition = "2021" [dependencies] +openssl = { version = "0.10", features = ["vendored"] } axum = { version = "0.7.2" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.68" diff --git a/Dockerfile b/Dockerfile index 9a930f9..55bd61e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM --platform=$BUILDPLATFORM rust:${RUST_VERSION}-alpine AS build WORKDIR /app -RUN apk add --no-cache musl-dev libressl-dev +RUN apk add --no-cache musl-dev perl make COPY . . RUN cargo build --locked --release --target-dir target && cp ./target/release/prodzilla /bin/prodzilla