Update Dockerfiles to bookworm, successfully

Removes use of the Parity CI image. Always uses slim variants.
This commit is contained in:
Luke Parker
2023-07-26 03:06:01 -04:00
parent 0eb56406a4
commit 39eae2795f
5 changed files with 33 additions and 30 deletions

View File

@@ -26,12 +26,15 @@ 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/* .
RUN mv bin/* /bin && mv lib/* /lib
COPY ./scripts /scripts
# Upgrade packages
RUN apt update && apt upgrade -y
EXPOSE 8332 8333 18332 18333 18443 18444
VOLUME ["/home/bitcoin/.bitcoin"]

View File

@@ -27,12 +27,15 @@ 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/* .
RUN mv * /bin/
COPY ./scripts /scripts
# Upgrade packages
RUN apt update && apt upgrade -y
EXPOSE 18080 18081
VOLUME /home/monero/.bitmonero