Revert from bookworm to bullseye

Parity's CI uses bullseye and bullseye has an incompatible, dynamically linked
openssl.
This commit is contained in:
Luke Parker
2023-07-25 22:15:33 -04:00
parent 32435d8a4c
commit 1af5f1bcdc
4 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ RUN --mount=type=cache,target=/root/.cargo \
mv /serai/target/release/serai-processor /serai/bin
# Prepare Image
FROM debian:bookworm-slim as image
FROM debian:bullseye-slim as image
LABEL description="STAGE 2: Copy and Run"
WORKDIR /home/serai
@@ -37,7 +37,7 @@ COPY --from=builder /serai/bin/* /bin/
COPY --from=builder /serai/AGPL-3.0 .
# Install openssl
RUN apt update && apt upgrade -y && apt install -y libssl1.1
RUN apt update && apt upgrade -y && apt install -y libssl
# Run processor
CMD ["serai-processor"]