Added openssl to musl build
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Joe Bellus 2022-09-28 12:50:46 -04:00
parent 1c0e382693
commit 1e28b2546a
3 changed files with 13 additions and 2 deletions

View File

@ -52,7 +52,7 @@ steps:
commands:
- cp -R /app/ui ./ui/build
- rustup target add x86_64-unknown-linux-musl
- apt update && apt install -y musl-tools musl-dev
- apt update && apt install -y musl-tools musl-dev libssl-dev
- update-ca-certificates
- cargo build --target x86_64-unknown-linux-musl --release
- mkdir /app/build

11
Cargo.lock generated
View File

@ -893,6 +893,7 @@ dependencies = [
"smallvec",
"thiserror",
"tokio",
"tokio-native-tls",
"tokio-stream",
"tokio-util",
"tracing",
@ -1331,6 +1332,16 @@ dependencies = [
"syn",
]
[[package]]
name = "tokio-native-tls"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"
dependencies = [
"native-tls",
"tokio",
]
[[package]]
name = "tokio-stream"
version = "0.1.10"

View File

@ -12,7 +12,7 @@ serde_json = "1.0.85"
tokio = { version = "1.21.1", features = ["full"] }
bytes = "1.2.1"
lettre = "0.10.1"
poem = { version = "1.3.44", features = ["compression", "embed"] }
poem = { version = "1.3.44", features = ["compression", "embed", "native-tls"] }
rust-embed = "6.4.1"
tracing = "0.1.36"
tracing-subscriber = "0.3.15"