mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Revert from bookworm to bullseye
Parity's CI uses bullseye and bullseye has an incompatible, dynamically linked openssl.
This commit is contained in:
@@ -26,7 +26,7 @@ RUN grep bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz SHA256SUMS | sha256s
|
|||||||
# Prepare Image
|
# Prepare Image
|
||||||
RUN tar xzvf bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz
|
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
|
WORKDIR /home/bitcoin
|
||||||
COPY --from=builder /home/bitcoin/* .
|
COPY --from=builder /home/bitcoin/* .
|
||||||
|
|||||||
@@ -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
|
RUN tar -xvjf monero-linux-x64-v${MONERO_VERSION}.tar.bz2 --strip-components=1
|
||||||
|
|
||||||
# Prepare Image
|
# Prepare Image
|
||||||
FROM debian:bookworm-slim as image
|
FROM debian:bullseye-slim as image
|
||||||
|
|
||||||
WORKDIR /home/monero
|
WORKDIR /home/monero
|
||||||
COPY --from=builder /home/monero/* .
|
COPY --from=builder /home/monero/* .
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ RUN --mount=type=cache,target=/root/.cargo \
|
|||||||
mv /serai/target/release/serai-message-queue /serai/bin
|
mv /serai/target/release/serai-message-queue /serai/bin
|
||||||
|
|
||||||
# Prepare Image
|
# Prepare Image
|
||||||
FROM debian:bookworm-slim as image
|
FROM debian:bullseye-slim as image
|
||||||
LABEL description="STAGE 2: Copy and Run"
|
LABEL description="STAGE 2: Copy and Run"
|
||||||
|
|
||||||
WORKDIR /home/serai
|
WORKDIR /home/serai
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ RUN --mount=type=cache,target=/root/.cargo \
|
|||||||
mv /serai/target/release/serai-processor /serai/bin
|
mv /serai/target/release/serai-processor /serai/bin
|
||||||
|
|
||||||
# Prepare Image
|
# Prepare Image
|
||||||
FROM debian:bookworm-slim as image
|
FROM debian:bullseye-slim as image
|
||||||
LABEL description="STAGE 2: Copy and Run"
|
LABEL description="STAGE 2: Copy and Run"
|
||||||
|
|
||||||
WORKDIR /home/serai
|
WORKDIR /home/serai
|
||||||
@@ -37,7 +37,7 @@ COPY --from=builder /serai/bin/* /bin/
|
|||||||
COPY --from=builder /serai/AGPL-3.0 .
|
COPY --from=builder /serai/AGPL-3.0 .
|
||||||
|
|
||||||
# Install openssl
|
# 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
|
# Run processor
|
||||||
CMD ["serai-processor"]
|
CMD ["serai-processor"]
|
||||||
|
|||||||
Reference in New Issue
Block a user