forked from RandyMcMillan/docker.shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.dockerfile
More file actions
40 lines (35 loc) · 924 Bytes
/
base.dockerfile
File metadata and controls
40 lines (35 loc) · 924 Bytes
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
FROM debian:bullseye as user
RUN echo 'Acquire::HTTP::Proxy "http://172.17.0.1:3142";' >> /etc/apt/apt.conf.d/01proxy \
&& echo 'Acquire::HTTPS::Proxy "false";' >> /etc/apt/apt.conf.d/01proxy
RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y \
automake \
binutils \
bison \
bzip2 \
ca-certificates \
clang \
cmake \
curl \
diffoscope \
g++ \
gcc \
gdb \
git \
libtool \
man \
make \
patch \
pkg-config \
python3 \
unzip \
valgrind \
vim \
wget \
xz-utils
RUN git clone https://github.com/bitcoin/bitcoin
RUN make download -C bitcoin/depends
RUN cd bitcoin && \
git config --global pull.rebase false && \
git config --global user.email "you@example.com" && \
git config --global user.name "Your Name" && \
git remote add fanquake https://github.com/fanquake/bitcoin.git