Add redis bloom module (#252)
* build redisbloom in dockerfile * add separate step for redisbloom * end RUN properly * can't verify with github? * just needed ca-cert
This commit is contained in:
1 parent
7a32cf9955
commit
d1484aa780
1 file changed
+19
-1
@@ -73,7 +73,25 @@ RUN set -eux; \
|
||||
| xargs -r apt-mark manual \
|
||||
; \
|
||||
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
# build RedisBloom
|
||||
RUN set -eux; \
|
||||
savedAptMark="$(apt-mark showmanual)"; \
|
||||
apt-get update; \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" install -qqy --no-install-recommends \
|
||||
ca-certificates \
|
||||
wget \
|
||||
make \
|
||||
pkg-config \
|
||||
build-essential \
|
||||
git; \
|
||||
git clone --recursive https://github.com/RedisBloom/RedisBloom.git; \
|
||||
cd RedisBloom; \
|
||||
./sbin/setup; \
|
||||
bash -l; \
|
||||
make; \
|
||||
redisBloomPath=`make run -n | awk '{print $NF}'`; \
|
||||
cp $redisBloomPath /usr/local/lib/
|
||||
# create working directories and organize files
|
||||
RUN \
|
||||
mkdir /data && chown keydb:keydb /data; \
|
||||
|
||||
Reference in new issue
Block a user