Most deployments use Ubuntu Server LTS or Debian with Docker. If your gateway is primarily networking-focused, OpenWrt x86_64 can be a strong option.