Skip to content

Commit

Permalink
Merge branch 'main' of github.com:iskyd/walle
Browse files Browse the repository at this point in the history
  • Loading branch information
iskyd committed Jul 20, 2024
2 parents 3264a59 + c781557 commit ae6194a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
FROM debian:bookworm
FROM --platform=$BUILDPLATFORM debian:bookworm AS base

ENV PATH="${PATH}:/bitcoin-25.0/bin"

RUN apt update && apt install -y wget

FROM base AS arm64-build
RUN wget https://bitcoin.org/bin/bitcoin-core-25.0/bitcoin-25.0-aarch64-linux-gnu.tar.gz
RUN tar xzf bitcoin-25.0-aarch64-linux-gnu.tar.gz

FROM base AS amd64-build
RUN wget https://bitcoin.org/bin/bitcoin-core-25.0/bitcoin-25.0-x86_64-linux-gnu.tar.gz
RUN tar xzf bitcoin-25.0-x86_64-linux-gnu.tar.gz

FROM $TARGETARCH-build AS final
RUN mkdir bitcoin-25.0/data
RUN mkdir /.bitcoin

Expand Down
15 changes: 0 additions & 15 deletions Dockerfile.arm

This file was deleted.

0 comments on commit ae6194a

Please sign in to comment.