mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 13:32:57 +00:00
On bookworm, 'cmake' is new enough that we can just use it. On bullseye, we can get a new-enough package from backports. By including 'cmake' in the build-deps stage, we don't need to install it separately in all the later build stages that need it. See https://github.com/neondatabase/neon/pull/2699, where we switched to downloading and building a specific version.
This directory contains files that are needed to build the compute images, or included in the compute images.
Dockerfile.compute-node To build the compute image
vm-image-spec.yaml Instructions for vm-builder, to turn the compute-node image into corresponding vm-compute-node image.
etc/ Configuration files included in /etc in the compute image
patches/ Some extensions need to be patched to work with Neon. This directory contains such patches. They are applied to the extension sources in Dockerfile.compute-node
In addition to these, postgres itself, the neon postgres extension, and compute_ctl are built and copied into the compute image by Dockerfile.compute-node.