forked from bancaditalia/itcoin-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dockerignore
56 lines (53 loc) · 1.37 KB
/
.dockerignore
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
52
53
54
55
56
# Itcoin
#
# This file limits which files may end up inside the docker build context,
# i.e., which files will be available at container build time to an ADD/COPY
# statement.
#
# The file follows a strict whitelist approach: everything is excluded from the
# build context, except for explicitly allowed files/directories.
#
# references:
# - https://docs.docker.com/engine/reference/builder/#dockerignore-file
# - https://docs.docker.com/engine/reference/commandline/build/#extended-description
#
# Author: Antonio Muci <[email protected]>
# ignore everything by default
*
# Explicitly list the directories/files that can end up inside the build
# context.
#
# NOTE: when adding a new file or a new directory inside the Dockerfile, put an
# entry here as well, otherwise the COPY/ADD phase will fail.
!/autogen.sh
!/build-aux
!/configure.ac
!/contrib
!/doc
!/infra/bitcoin.conf.tmpl
!/infra/configure-itcoin-core-dev.sh
!/infra/create-initdata.sh
!/infra/entrypoint.sh
!/infra/Makefile
!/infra/render-template.sh
!/libbitcoinconsensus.pc.in
!/Makefile.am
!/share
!/src
!/test
# If a build was already run in this working directory, do not copy the
# following artifacts in the Docker image, since they are going to be recreated
# from scratch.
**/bitcoin-cli
**/bitcoind
**/bitcoin-tx
**/bitcoin-util
**/bitcoin-wallet
**/*.a
**/*.la
**/*.lai
**/*.lo
**/*.o
**/*.Plo
**/*.Po
**/*.so