13.0
$ docker run -it --name pgplayground toshelp/postgresql_playground /bin/bash
sudo password is "postgres"
postgres@postgres:~$ mkdir build
postgres@postgres:~$ cd build
postgres@postgres:~/build$ ../postgresql-13.0/configure
postgres@postgres:~/build$ make
postgres@postgres:~/build$ sudo make install
postgres@postgres:~/build$ export PATH=$PATH:/usr/local/pgsql/bin/
postgres@postgres:~/build$ export PGDATABASE=postgres
postgres@postgres:~/build$ export PGDATA=$HOME/data
postgres@postgres:~/build$ initdb --encoding=UTF8 --no-locale
postgres@postgres:~/build$ pg_ctl -D /home/postgres/data -l logfile start
postgres@postgres:~/build$ psql
Content type
Image
Digest
Size
205 MB
Last updated
almost 6 years ago
docker pull toshelp/postgresql_playground