Move from bullseye-slim to bookworm-slim

Also moves from bullseye in the processor to bullseye-slim. This requires
adding back the apt intall, yet the tests/docker cache should handle it.

Minimizes processor image surface, hopefully also shrinks the CI down a bit.
This commit is contained in:
Luke Parker 2023-07-25 21:10:28 -04:00
parent 4949793c3f
commit 49ce792b91
No known key found for this signature in database
4 changed files with 7 additions and 4 deletions

View file

@ -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:bullseye-slim as image
FROM debian:bookworm-slim as image
WORKDIR /home/bitcoin
COPY --from=builder /home/bitcoin/* .

View file

@ -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:bullseye-slim as image
FROM debian:bookworm-slim as image
WORKDIR /home/monero
COPY --from=builder /home/monero/* .

View file

@ -29,7 +29,7 @@ RUN --mount=type=cache,target=/root/.cargo \
mv /serai/target/release/serai-message-queue /serai/bin
# Prepare Image
FROM debian:bullseye-slim as image
FROM debian:bookworm-slim as image
LABEL description="STAGE 2: Copy and Run"
WORKDIR /home/serai

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:bullseye as image
FROM debian:bookworm-slim as image
LABEL description="STAGE 2: Copy and Run"
WORKDIR /home/serai
@ -36,5 +36,8 @@ WORKDIR /home/serai
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 processor
CMD ["serai-processor"]