mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-22 23:50:39 +00:00
The 'legacy-vm-builder-image' Dockerfile target can still be used to build an old-style VM image, for use with vm-builder. And that's still the default target. However, there are now ano other target, 'compute-node-bootable', that can be used to build an image that includes systemd unit files to launch the services, and 'compute-node-neonvm-payload' to package that as a QCOW2 image that can be used with the new neon-vm launcher. See https://github.com/neondatabase/autoscaling/pull/1211 for the new launcher.
This directory contains files that are needed to build the compute images, or included in the compute images.
compute-node.Dockerfile 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 compute-node.Dockerfile
In addition to these, postgres itself, the neon postgres extension, and compute_ctl are built and copied into the compute image by compute-node.Dockerfile.