Last active
October 9, 2017 17:01
-
-
Save diegomengarda/6217f1916900629e5f14048220d5cfc0 to your computer and use it in GitHub Desktop.
Docker - Postgres 9.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull postgres:9.4 | |
apt-get -qq update | |
apt-get clean && apt-get update | |
apt-get install -y locales && apt-get install -y build-essential curl software-properties-common | |
locale-gen en_US en_US.UTF-8 pt_BR.UTF-8 | |
nano /etc/profile | |
export PGPORT=5432 | |
source /etc/profile | |
pg_createcluster 9.4 main --start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment