Docker Information

Abstract

Dockerfile and other configuration required to build the monero image.

Docker Information#

For the build command shown below to work, you’ll need to make sure that your version of Docker includes the buildx plugin.

Build Container Image#

GHCR_REPO=ghcr.io/username/helm-monero-node/node
DOCKER_REPO=username/monero-node
VERSION="0.0.2-$(git rev-parse --short=6 HEAD)"

source secrets/monero.sh

docker build \
  --build-arg RPC_ORIGINS="${RPC_ORIGINS}" \
  --build-arg VERSION="${VERSION}" -t "${GHCR_REPO}:${VERSION}" \
  -t "${DOCKER_REPO}:${VERSION}" --push -f docker/Dockerfile .