btcpayserver-docker/contrib/DockerFileBuildHelper
Nadav Ivgi e61e6fe355
Docker fragment for Bitcoin Wallet Tracker (#432)
* Docker fragment for Bitcoin Wallet Tracker

* Add docs for bwt

* Persist all BWT_* options to BTCPAY_ENV_FILE

* Add bwt to DockerFileBuildHelper, remove dynamic image name

The dynamic image didn't play nicely with the build helper, so it was
removed in favour of only supporting the Electrum variant for now.

* Update to bwt v0.2.2 with multi-arch images
2021-01-30 21:18:59 +09:00
..
DockerFile.cs Make build-all-images work on arm 2018-12-02 17:06:36 +09:00
DockerFileBuildHelper.csproj Add script and instruction to build all the docker images by yourself 2018-12-02 13:32:01 +09:00
DockerInfo.cs Reorder images in the doc to push shitcoins down 2019-10-20 17:23:24 +09:00
Extensions.cs Add script and instruction to build all the docker images by yourself 2018-12-02 13:32:01 +09:00
Image.cs Generate docker file table 2019-01-28 18:36:30 +09:00
Program.cs Docker fragment for Bitcoin Wallet Tracker (#432) 2021-01-30 21:18:59 +09:00
README.md Update DockerFileBuildHelper instructions (#433) 2021-01-23 08:56:25 +01:00
run.sh Add script and instruction to build all the docker images by yourself 2018-12-02 13:32:01 +09:00
StringBuilderEx.cs Make build-all-images work on arm 2018-12-02 17:06:36 +09:00
update-repo.ps1 Generate docker file table 2019-01-28 18:36:30 +09:00
update-repo.sh Generate docker file table 2019-01-28 18:36:30 +09:00

DockerFile build helper

By default, when you use docker deployment, you are fetching pre-built docker images hosted on dockerhub. While this bring the advantage that deployment is fast and reliable, this also mean that you are ultimately trusting the owner of the docker images. This repository generate a script that you can use to build all images from the sources by yourself.

How to use?

Install .NET Core SDK and run:

./run.sh

Or using Docker:

docker run -it --rm -v `pwd`:/project -w /project/contrib/DockerFileBuildHelper mcr.microsoft.com/dotnet/sdk:2.1 ./run.sh

This will build a build-all.sh file which you can run locally.

To update the README table and the build-all-images.sh script that's checked into git, replace run.sh with update-repo.sh.