decred.org/dcrdex@v1.0.5/dcrdex-umbrel/README.md (about)

     1  # Publishing Docker image
     2  
     3  The `bisonwallet` image can be built and published to Docker Hub using the following steps.  This requires the use of [BuildKit](https://docs.docker.com/build/buildkit/), which is part of recent Docker releases.
     4  
     5  1. Log in to Docker Hub using the credentials that have write access to <https://hub.docker.com/u/decred>
     6  
     7  ```bash
     8  docker login
     9  ```
    10  
    11  1. Build the image
    12  
    13  ```bash
    14  git clone https://github.com/decred/dcrdex
    15  cd dcrdex
    16  git checkout release-v1.x.x
    17  docker buildx create --use
    18  docker buildx build -f client/Dockerfile \
    19    --platform linux/arm64,linux/amd64 \
    20    --tag decred/dcrdex:v1.x.x \
    21    --output "type=registry"  .
    22  ```
    23  
    24  This is a multi-platform (targeting `amd64` and `arm64`) build which takes longer, this is normal.  
    25  If there are no error messages, at the end of the build the image will be published to Docker.
    26  
    27  1. Verify that the image has been published on <https://hub.docker.com/r/decred/dcrdex/tags>.  There should be 2 digest lines; these indicate that both target platforms have been built and are included in the published image.