Run pgmodeler-cli without building or installing.
docker run --rm -v $(pwd):/data sunaoka/pgmodeler-cli \
--export-to-file \
--input some.dbm \
--output some.sql
Copy the configuration file into the $(pwd)/config
directory.
docker run --rm -v $(pwd):/data sunaoka/pgmodeler-cli \
-v $(pwd)/config:/root/.config/pgmodeler \
--export-to-file \
--input some.dbm \
--output some.sql
Older versions are available, please see the docker hub for available tags