mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
add libpq-dev
This commit is contained in:
16
images/linux/scripts/installers/postgresql.sh
Normal file
16
images/linux/scripts/installers/postgresql.sh
Normal file
@@ -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))"
|
||||||
@@ -152,6 +152,7 @@
|
|||||||
"{{template_dir}}/scripts/installers/phantomjs.sh",
|
"{{template_dir}}/scripts/installers/phantomjs.sh",
|
||||||
"{{template_dir}}/scripts/installers/1604/php.sh",
|
"{{template_dir}}/scripts/installers/1604/php.sh",
|
||||||
"{{template_dir}}/scripts/installers/pollinate.sh",
|
"{{template_dir}}/scripts/installers/pollinate.sh",
|
||||||
|
"{{template_dir}}/scripts/installers/postgresql.sh",
|
||||||
"{{template_dir}}/scripts/installers/1604/powershellcore.sh",
|
"{{template_dir}}/scripts/installers/1604/powershellcore.sh",
|
||||||
"{{template_dir}}/scripts/installers/ruby.sh",
|
"{{template_dir}}/scripts/installers/ruby.sh",
|
||||||
"{{template_dir}}/scripts/installers/rust.sh",
|
"{{template_dir}}/scripts/installers/rust.sh",
|
||||||
|
|||||||
@@ -155,6 +155,7 @@
|
|||||||
"{{template_dir}}/scripts/installers/phantomjs.sh",
|
"{{template_dir}}/scripts/installers/phantomjs.sh",
|
||||||
"{{template_dir}}/scripts/installers/1804/php.sh",
|
"{{template_dir}}/scripts/installers/1804/php.sh",
|
||||||
"{{template_dir}}/scripts/installers/pollinate.sh",
|
"{{template_dir}}/scripts/installers/pollinate.sh",
|
||||||
|
"{{template_dir}}/scripts/installers/postgresql.sh",
|
||||||
"{{template_dir}}/scripts/installers/1804/powershellcore.sh",
|
"{{template_dir}}/scripts/installers/1804/powershellcore.sh",
|
||||||
"{{template_dir}}/scripts/installers/ruby.sh",
|
"{{template_dir}}/scripts/installers/ruby.sh",
|
||||||
"{{template_dir}}/scripts/installers/rust.sh",
|
"{{template_dir}}/scripts/installers/rust.sh",
|
||||||
|
|||||||
Reference in New Issue
Block a user