-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.redistack
23 lines (18 loc) · 1.01 KB
/
Dockerfile.redistack
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ARG BUILD_ARCH=arm64v8
ARG REDIS_VERSION=6.0-latest
ARG OSNIX=bullseye
FROM ghcr.io/arm64-compat/redis/rebloom:${REDIS_VERSION}-${BUILD_ARCH}-${OSNIX} as bloom
FROM ghcr.io/arm64-compat/redis/research:${REDIS_VERSION}-${BUILD_ARCH}-${OSNIX} as search
FROM ghcr.io/arm64-compat/redis/rejson:${REDIS_VERSION}-${BUILD_ARCH}-${OSNIX} as json
FROM ghcr.io/arm64-compat/redis/regraph:${REDIS_VERSION}-${BUILD_ARCH}-${OSNIX} as graph
FROM ghcr.io/arm64-compat/redis/retimeseries:${REDIS_VERSION}-${BUILD_ARCH}-${OSNIX} as timeseries
FROM redisfab/redis:${REDIS_VERSION}-${BUILD_ARCH}-${OSNIX}
ENV LIBDIR /usr/lib/redis/modules
WORKDIR /data
RUN mkdir -p "$LIBDIR"
RUN apt-get -qq update; apt-get -q install -y libgomp1
COPY --from=bloom $LIBDIR/redisbloom.so $LIBDIR/redisboom.so
COPY --from=search $LIBDIR/redisearch.so $LIBDIR/redisearch.so
COPY --from=json $LIBDIR/rejson.so $LIBDIR/rejson.so
COPY --from=graph $LIBDIR/redisgraph.so $LIBDIR/redisgraph.so
COPY --from=timeseries $LIBDIR/redistimeseries.so $LIBDIR/redistimeseries.so