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 4
4
5
5
### Features / Enhancements
6
6
7
+ - Update dashboards for Grafana 8.2 #9
8
+
9
+ ### Bugfix
10
+
11
+ - Using opencv-python-headless Python library for Docker
12
+
7
13
## v1.2.0 (2021-08-18)
8
14
9
15
### Features / Enhancements
Original file line number Diff line number Diff line change @@ -8,17 +8,14 @@ ARG MODULES=/var/opt/redislabs/lib/modules
8
8
ARG RG=${MODULES}/redisgears.so
9
9
ARG REDIS="redis-server --loadmodule ${RG} Plugin /var/opt/redislabs/modules/rg/plugin/gears_python.so"
10
10
11
- ARG DEPS="python3-opencv"
12
11
ARG REQ="numpy \
13
12
Pillow \
14
- opencv-python"
13
+ opencv-python-headless "
15
14
16
15
# Set up a build environment
17
16
WORKDIR /data
18
17
RUN set -ex;\
19
- deps="$DEPS" ;\
20
- apt-get update;\
21
- apt-get install -y --no-install-recommends $deps;
18
+ apt-get update;
22
19
23
20
# Copy RedisTimeSeries
24
21
COPY --from=redistimeseries ${LD_LIBRARY_PATH}/*.so ${LD_LIBRARY_PATH}/
@@ -28,7 +25,7 @@ COPY --from=redisai ${LD_LIBRARY_PATH}/redisai.so ${LD_LIBRARY_PATH}/
28
25
COPY --from=redisai ${LD_LIBRARY_PATH}/backends ${LD_LIBRARY_PATH}/backends
29
26
30
27
# 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 \
32
29
&& redis-cli save
33
30
34
31
ENTRYPOINT ["redis-server" ]
You can’t perform that action at this time.
0 commit comments