Docker-postgresql12
Latest version of postgresql coming with timescaledb and pgloader
Build
git clone https://github.com/system-dev-formations/docker-postgres12.git
cd docker-postgres12
docker build -t pg122 .
docker run -d --name db -p 25432:5432 -e POSTGRES_PASSWORD=password --rm -v /mnt:/var/lib/postgresql/data pg122
Run
docker exec -it db /bin/bash
apk add --no-cache git bison clang make gcc g++ flex
git clone https://github.com/system-dev-formations/tpc-ds-postgresql.git
cd tpc-ds-postgresql
cd tpcds-kit/tools
make
./dsdgen -DIR /tmp -SCALE 1 -FORCE -VERBOSE