Skip to content

Commit

Permalink
fix: Vendor openssl to enable cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensdavid committed Jun 13, 2024
1 parent 1883043 commit a165a54
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a165a54

Please sign in to comment.