Skip to content

Commit

Permalink
Include newer openssl version
Browse files Browse the repository at this point in the history
  • Loading branch information
miam-miam committed Mar 6, 2024
1 parent 3c1e485 commit 32804c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM rust:1.76-buster as build

RUN apt-get update && apt-get -y install libssl-dev openssl && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/*

# create a new empty shell project
RUN USER=root cargo new --bin verify-bot
WORKDIR /verify-bot
Expand All @@ -23,7 +25,7 @@ RUN cargo build --release
# our final base
FROM debian:buster

RUN apt-get update && apt-get -y install libssl1.1 && apt clean && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get -y install libssl-dev openssl && apt upgrade -y openssl && apt clean && rm -rf /var/lib/apt/lists/*

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

0 comments on commit 32804c6

Please sign in to comment.