Added OpenSSL to the image
ci/woodpecker/push/ociImagePush Pipeline was successful Details

This commit is contained in:
Natty 2024-04-17 02:04:46 +02:00
parent e8dde3f8a3
commit 8387f6e34c
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 6 additions and 0 deletions

View File

@ -1,9 +1,15 @@
FROM docker.io/rust:1.77-bookworm AS build FROM docker.io/rust:1.77-bookworm AS build
RUN update-ca-certificates
WORKDIR /mag-markov WORKDIR /mag-markov
ADD . . ADD . .
RUN cargo build --release --locked RUN cargo build --release --locked
FROM docker.io/debian:bookworm FROM docker.io/debian:bookworm
RUN apt update
RUN apt upgrade
RUN apt install -y openssl
WORKDIR /app WORKDIR /app
COPY --from=build /mag-markov/target/release/mag-markov . COPY --from=build /mag-markov/target/release/mag-markov .