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"]