Merge pull request #5371 from bitcoincore-dev/docs-dev-testing

docs: bump docker lnd dev and testing version
This commit is contained in:
Olaoluwa Osuntokun 2021-06-30 17:56:04 -07:00 committed by GitHub
commit 0ff5187dfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,17 +110,16 @@ to expose RPC ports, use `btcd` or `bitcoind`, or add additional chains.
## LND Development and Testing
To test the Docker production image locally, run the following from
the project root:
To test the Docker production image locally, run the following from the project root:
```shell
⛰ docker build . -t myrepository/lnd:master
```
To choose a specific branch or tag instead, use the "checkout" build-arg. For example, to build the latest commits in master:
To choose a specific [branch](https://github.com/lightningnetwork/lnd/branches) or [tag](https://hub.docker.com/r/lightninglabs/lnd/tags?page=1&ordering=last_updated) instead, use the "checkout" build-arg. For example, to build the latest tagged commit:
```shell
⛰ docker build . --build-arg checkout=v0.8.0-beta -t myrepository/lnd:v0.8.0-beta
⛰ docker build . --build-arg checkout=v0.13.0-beta -t myrepository/lnd:v0.13.0-beta
```
To build the image using the most current tag: