add rocksdb requirement, update dockerfile
This commit is contained in:
parent
df3254b371
commit
1c01faed28
2 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,9 @@ ENV DOCKER_TAG=$DOCKER_TAG DOCKER_COMMIT=$DOCKER_COMMIT
|
|||
|
||||
RUN apt-get update && \
|
||||
apt-get -y --no-install-recommends install \
|
||||
liblz4-dev \
|
||||
libsnappy-dev \
|
||||
librocksdb-dev \
|
||||
wget \
|
||||
tar unzip \
|
||||
build-essential \
|
||||
|
|
2
setup.py
2
setup.py
|
@ -10,6 +10,8 @@ with open(os.path.join(BASE, 'README.md'), encoding='utf-8') as fh:
|
|||
PLYVEL = []
|
||||
if sys.platform.startswith('linux'):
|
||||
PLYVEL.append('plyvel==1.0.5')
|
||||
PLYVEL.append('python-rocksdb')
|
||||
|
||||
|
||||
setup(
|
||||
name=__name__,
|
||||
|
|
Loading…
Add table
Reference in a new issue