File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 44
55### Features / Enhancements
66
7+ - Update dashboards for Grafana 8.2 #9
8+
9+ ### Bugfix
10+
11+ - Using opencv-python-headless Python library for Docker
12+
713## v1.2.0 (2021-08-18)
814
915### Features / Enhancements
Original file line number Diff line number Diff line change @@ -8,17 +8,14 @@ ARG MODULES=/var/opt/redislabs/lib/modules
88ARG RG=${MODULES}/redisgears.so
99ARG REDIS="redis-server --loadmodule ${RG} Plugin /var/opt/redislabs/modules/rg/plugin/gears_python.so"
1010
11- ARG DEPS="python3-opencv"
1211ARG REQ="numpy \
1312 Pillow \
14- opencv-python"
13+ opencv-python-headless "
1514
1615# Set up a build environment
1716WORKDIR /data
1817RUN set -ex;\
19- deps="$DEPS" ;\
20- apt-get update;\
21- apt-get install -y --no-install-recommends $deps;
18+ apt-get update;
2219
2320# Copy RedisTimeSeries
2421COPY --from=redistimeseries ${LD_LIBRARY_PATH}/*.so ${LD_LIBRARY_PATH}/
@@ -28,7 +25,7 @@ COPY --from=redisai ${LD_LIBRARY_PATH}/redisai.so ${LD_LIBRARY_PATH}/
2825COPY --from=redisai ${LD_LIBRARY_PATH}/backends ${LD_LIBRARY_PATH}/backends
2926
3027# Start Redis and install Deps
31- RUN nohup bash -c "${REDIS}&" && sleep 4 && redis-cli RG.PYEXECUTE "GearsBuilder().run()" REQUIREMENTS $REQ \
28+ RUN nohup bash -c "${REDIS}&" && sleep 4 && redis-cli RG.PYEXECUTE "import cv2; GearsBuilder().run()" REQUIREMENTS $REQ \
3229 && redis-cli save
3330
3431ENTRYPOINT ["redis-server" ]
You can’t perform that action at this time.
0 commit comments