Install newer postgres version on LXC container

Hello. We have a Proxmox setup inside our local server that allows to install VMs and LXC containers.
My goal is to install a postgres server inside a LXC container. There is already a tar.gz provided by Turnkey that has everything we need to manage databases and users, but it's the most recent version and they do not provide version 9.5 as indicated by Da Vinci installation guide. I want to avoid installing the provided CentOS image in a VM and keep things simple. Would a recent version of postgres work if setup correctly following the guide? I refer to basic setup of pg_hba.conf, firewall, port 5432 etc. Thank you
My goal is to install a postgres server inside a LXC container. There is already a tar.gz provided by Turnkey that has everything we need to manage databases and users, but it's the most recent version and they do not provide version 9.5 as indicated by Da Vinci installation guide. I want to avoid installing the provided CentOS image in a VM and keep things simple. Would a recent version of postgres work if setup correctly following the guide? I refer to basic setup of pg_hba.conf, firewall, port 5432 etc. Thank you