mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-25 15:19:58 +00:00
1.8 KiB
1.8 KiB
Docker images of Zenith
Images
Currently we build two main images:
- zenithdb/zenith — image with pre-built
pageserver,wal_acceptorandproxybinaries and all the required runtime dependencies. Built from /Dockerfile. - zenithdb/compute-node — compute node image with pre-built Postgres binaries from zenithdb/postgres.
And two intermediate images used either to reduce build time or to deliver some additional binary tools from other repos:
- zenithdb/build — image with all the dependencies required to build Zenith and compute node images. This image is based on
rust:slim-buster, so it also has a properrustenvironment. Built from /Dockerfile.build. - zenithdb/compute-tools — compute node configuration management tools.
Building pipeline
-
Image
zenithdb/compute-toolsis re-built automatically. -
Image
zenithdb/buildis built manually. If you want to introduce any new compile time dependencies to Zenith or compute node you have to update this image as well, build it and push to Docker Hub.
Build:
docker build -t zenithdb/build:buster -f Dockerfile.build .
Login:
docker login
Push to Docker Hub:
docker push zenithdb/build:buster
-
Image
zenithdb/compute-nodeis built independently in the zenithdb/postgres repo. -
Image
zenithdb/zenithis built in this repo after a successfulreleasetests run and pushed to Docker Hub automatically.