Building the Docker Images
ENSRainbow is split into two Docker images to minimize long-running rebuilds of the LevelDB data directory used for rainbow table lookups. The namehash/ensnode/ensrainbow-data
image hosts the prebuilt LevelDB data at /app/data
and namehash/ensnode/ensrainbow
imports that directory after building the apps/ensrainbow
project.
ENSRainbow-data (namehash/ensnode/ensrainbow-data
)
This image downloads the source ens_names.sql.gz
and ingests them to produce the output /app/data
directory.
# from the monorepo rootdocker build -f apps/ensrainbow/Dockerfile.data -t namehash/ensnode/ensrainbow-data .
ENSRainbow (namehash/ensnode/ensrainbow
)
# from the monorepo rootdocker build -f apps/ensrainbow/Dockerfile -t namehash/ensnode/ensrainbow .