mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
.. | ||
DockerFile.cs | ||
DockerFileBuildHelper.csproj | ||
DockerInfo.cs | ||
Extensions.cs | ||
Image.cs | ||
Program.cs | ||
README.md | ||
run.sh | ||
StringBuilderEx.cs | ||
update-repo.ps1 | ||
update-repo.sh |
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
.