forked from RandyMcMillan/docker.shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbitcoin.debian.dockerfile
More file actions
51 lines (46 loc) · 1.26 KB
/
bitcoin.debian.dockerfile
File metadata and controls
51 lines (46 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM debian:buster-slim as user
RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y \
automake \
binutils \
bsdmainutils \
ca-certificates \
cmake \
curl \
diffoscope \
doxygen \
g++-multilib \
git \
libtool \
lbzip2 \
make \
nsis \
patch \
pkg-config \
python3 \
python3-setuptools \
ripgrep \
vim \
xz-utils
# Split cross compile dependencies out.
# apt cant seem to install everything at once
RUN apt-get install --no-install-recommends -y \
imagemagick \
libbz2-dev \
libcap-dev \
librsvg2-bin \
libtiff-tools \
libtinfo5 \
libz-dev \
python3-setuptools \
g++-aarch64-linux-gnu \
binutils-aarch64-linux-gnu \
g++-arm-linux-gnueabihf \
binutils-arm-linux-gnueabihf \
binutils-riscv64-linux-gnu \
g++-riscv64-linux-gnu \
g++-mingw-w64-x86-64
RUN git clone https://github.com/bitcoin/bitcoin && mkdir bitcoin/depends/SDKs
RUN make download -C bitcoin/depends
RUN git clone https://github.com/bitcoin-core/bitcoin-maintainer-tools
# https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md#footnotes
RUN update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix