From 1af5f1bcdc88fae59f06182a2dbda791d5d0fdcf Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 25 Jul 2023 22:15:33 -0400 Subject: [PATCH] Revert from bookworm to bullseye Parity's CI uses bullseye and bullseye has an incompatible, dynamically linked openssl. --- deploy/coins/bitcoin/Dockerfile | 2 +- deploy/coins/monero/Dockerfile | 2 +- deploy/message-queue/Dockerfile | 2 +- deploy/processor/Dockerfile | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/coins/bitcoin/Dockerfile b/deploy/coins/bitcoin/Dockerfile index 4f4765d8..755b0c3e 100644 --- a/deploy/coins/bitcoin/Dockerfile +++ b/deploy/coins/bitcoin/Dockerfile @@ -26,7 +26,7 @@ RUN grep bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz SHA256SUMS | sha256s # Prepare Image RUN tar xzvf bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz -FROM debian:bookworm-slim as image +FROM debian:bullseye-slim as image WORKDIR /home/bitcoin COPY --from=builder /home/bitcoin/* . diff --git a/deploy/coins/monero/Dockerfile b/deploy/coins/monero/Dockerfile index ceb09143..6e6dfe62 100644 --- a/deploy/coins/monero/Dockerfile +++ b/deploy/coins/monero/Dockerfile @@ -27,7 +27,7 @@ RUN gpg --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options no-self-si RUN tar -xvjf monero-linux-x64-v${MONERO_VERSION}.tar.bz2 --strip-components=1 # Prepare Image -FROM debian:bookworm-slim as image +FROM debian:bullseye-slim as image WORKDIR /home/monero COPY --from=builder /home/monero/* . diff --git a/deploy/message-queue/Dockerfile b/deploy/message-queue/Dockerfile index 71fd0ded..3f9ba815 100644 --- a/deploy/message-queue/Dockerfile +++ b/deploy/message-queue/Dockerfile @@ -29,7 +29,7 @@ RUN --mount=type=cache,target=/root/.cargo \ mv /serai/target/release/serai-message-queue /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 diff --git a/deploy/processor/Dockerfile b/deploy/processor/Dockerfile index 7e7565e1..33cfef8e 100644 --- a/deploy/processor/Dockerfile +++ b/deploy/processor/Dockerfile @@ -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"]