docker build -t "chogori-builder-sql" .This mounts your host current directory PWD into the /host directory of the container. Any changes you do in the container inside the /host dir
ectory are reflected into the host (much like a symlink)
docker run -it --rm --init -v ${PWD}:/host chogori-builder-sqlcd /host
git clone https://github.com/futurewei-cloud/chogori-sql.git
cd chogori-sql
mkdir -p build
cd build
cmake ../
make -jcd /host/chogori-sql
test/integration/integrate.shtest/regression.shcd /host/chogori-sql/pgtest
./initDB.sh
./pg_run.sh &/host/chogori-sql/src/k2/postgres/bin/psql postgres