-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from jbovet/fix-libssl
fix libssl issue related to bullseye
- Loading branch information
Showing
3 changed files
with
50 additions
and
46 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 . | ||
|