Updated dependencies require a newer version of libssl; use a newer debian
This commit is contained in:
parent
1fede2034e
commit
3debc5609a
|
|
@ -16,7 +16,13 @@ RUN --mount=type=cache,target=/usr/local/cargo,from=rust:latest,source=/usr/loca
|
||||||
cargo build --release --features $adaptor && mv ./target/release/crabfit-api ./api
|
cargo build --release --features $adaptor && mv ./target/release/crabfit-api ./api
|
||||||
|
|
||||||
# Runtime image
|
# Runtime image
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
|
# install libssl3
|
||||||
|
RUN apt-get update &&\
|
||||||
|
apt-get install -yq libssl3 &&\
|
||||||
|
apt-get clean &&\
|
||||||
|
rm -rf /var/cache/apt/lists/*
|
||||||
|
|
||||||
# Run as "app" user
|
# Run as "app" user
|
||||||
RUN useradd -ms /bin/bash app
|
RUN useradd -ms /bin/bash app
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue