Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image for db testing #37

Merged
merged 1 commit into from
Jan 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions tendermint_db/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM circleci/golang

RUN sudo apt-get install -y --no-install-recommends libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libzstd-dev

# Install cleveldb
RUN wget https://github.com/google/leveldb/archive/v1.20.tar.gz && tar xvf v1.20.tar.gz && rm -f v1.22.tar.gz
RUN cd leveldb-1.20 && make && sudo scp -r out-static/lib* out-shared/lib* "/usr/local/lib" && cd include && sudo scp -r leveldb /usr/local/include && sudo ldconfig && cd ~

# Install Rocksdb
RUN git clone https://github.com/facebook/rocksdb.git && cd rocksdb/ && sudo make install
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this takes forever to install locally


# Install boltdb
RUN go get go.etcd.io/bbolt/...