Alpine Linux image with compiled and installed RocksDB with all compression libraries with ssh
git clone https://github.com/liaojack8/docker-rocksdb-sshd && cd docker-rocksdb-sshd
bash build.sh
ssh root@localhost -p 2222 //login password:rocksdb
cd /tmp
g++ -o example example.cpp -pthread -lrocksdb -std=c++11 && ./example