Skip to content

Commit

Permalink
Merge pull request #24 from jbovet/fix-libssl
Browse files Browse the repository at this point in the history
fix libssl issue related to bullseye
  • Loading branch information
jbovet authored Jan 26, 2024
2 parents 57a6e64 + 089207a commit f9287d5
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 46 deletions.
80 changes: 40 additions & 40 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ repository = "https://github.com/jbovet/tlschecker"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
openssl = "0.10.61"
clap = { version = "4.4.11", features = ["derive"] }
serde_json = "1.0.108"
serde = { version = "1.0.193", features = ["derive"] }
openssl = "0.10.63"
clap = { version = "4.4.18", features = ["derive"] }
serde_json = "1.0.111"
serde = { version = "1.0.195", features = ["derive"] }
comfy-table = "7.1.0"
strum = "0.25.0"
strum_macros = "0.25.3"
Expand Down
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.74 as build
FROM rust:bookworm as build
LABEL maintainer="[email protected]"

RUN cargo new --bin tlschecker
Expand All @@ -18,7 +18,11 @@ RUN rm ./target/release/deps/tlschecker*
RUN cargo build --release

# base
FROM rust:1.74-bullseye
FROM debian:bookworm-slim

# install libssl
RUN apt update && apt upgrade -y && \
apt install pkg-config libssl-dev -y

# copy the build artifact from the build stage
COPY --from=build /tlschecker/target/release/tlschecker .
Expand Down

0 comments on commit f9287d5

Please sign in to comment.