Skip to content

Commit

Permalink
fix(lint): dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hongbo-miao committed May 3, 2022
1 parent d11a47b commit 61a5c8a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions keydb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM alpine:3.15.4 AS builder
RUN mkdir -p /usr/lib/keydb/modules/ \
&& wget https://github.com/Hongbo-Miao/hm-redis-modules/raw/main/redisgraph.Linux-ubuntu18.04-x86_64.2.8.11/redisgraph.so
&& wget https://github.com/Hongbo-Miao/hm-redis-modules/raw/main/redisgraph.Linux-ubuntu18.04-x86_64.2.8.11/redisgraph.so --quiet

FROM eqalpha/keydb:x86_64_v6.2.2
# https://github.com/RedisGraph/RedisGraph/blob/master/README.md#loading-redisgraph-into-redis
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y libgomp1
apt-get install libgomp1 -y --no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/lib/keydb/modules/ /usr/lib/keydb/modules/
CMD ["keydb-server", "/etc/keydb/keydb.conf", "--loadmodule", "/usr/lib/keydb/modules/redisgraph.so"]

0 comments on commit 61a5c8a

Please sign in to comment.