Create a Packer image with a compiled-for-patch-review PostgreSQL
Create a packer json configuration for building two images:
- A vanilla Postgres compiled
- A patched Postgres compiled
Steps:
git clone https://github.com/postgres/postgres/
git checkout <rama_en_la_que_este_si_hubiera_
patch -p1 < <parche_diff>
./configure --enable-profiling --enable-cassert --enable-depend CFLAGS="-fno-omit-frame-pointer" --prefix=/opt/<nombre_carpeta>
Edited by Emanuel Calvo