diff --git a/images/linux/scripts/installers/postgresql.sh b/images/linux/scripts/installers/postgresql.sh new file mode 100644 index 00000000..b3150671 --- /dev/null +++ b/images/linux/scripts/installers/postgresql.sh @@ -0,0 +1,16 @@ +#!/bin/bash +################################################################################ +## File: postgresql.sh +## Desc: Installs Postgresql +################################################################################ + +# Source the helpers for use with the script +source $HELPER_SCRIPTS/document.sh + +echo "Install libpq-dev" +apt-get install libpq-dev + +echo "Install Postgresql Client" +apt-get install postgresql-client + +DocumentInstalledItem "($(psql -V 2>&1 | cut -d ' ' -f 1,2,3))" \ No newline at end of file diff --git a/images/linux/ubuntu1604.json b/images/linux/ubuntu1604.json index bca6a3ed..b8a25a87 100644 --- a/images/linux/ubuntu1604.json +++ b/images/linux/ubuntu1604.json @@ -152,6 +152,7 @@ "{{template_dir}}/scripts/installers/phantomjs.sh", "{{template_dir}}/scripts/installers/1604/php.sh", "{{template_dir}}/scripts/installers/pollinate.sh", + "{{template_dir}}/scripts/installers/postgresql.sh", "{{template_dir}}/scripts/installers/1604/powershellcore.sh", "{{template_dir}}/scripts/installers/ruby.sh", "{{template_dir}}/scripts/installers/rust.sh", diff --git a/images/linux/ubuntu1804.json b/images/linux/ubuntu1804.json index 5c57731d..f141db02 100644 --- a/images/linux/ubuntu1804.json +++ b/images/linux/ubuntu1804.json @@ -155,6 +155,7 @@ "{{template_dir}}/scripts/installers/phantomjs.sh", "{{template_dir}}/scripts/installers/1804/php.sh", "{{template_dir}}/scripts/installers/pollinate.sh", + "{{template_dir}}/scripts/installers/postgresql.sh", "{{template_dir}}/scripts/installers/1804/powershellcore.sh", "{{template_dir}}/scripts/installers/ruby.sh", "{{template_dir}}/scripts/installers/rust.sh",