File tree 1 file changed +14
-8
lines changed
dockers/docker-base-bullseye
1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -83,17 +83,23 @@ RUN pip3 install supervisord-dependent-startup==1.4.0
83
83
84
84
RUN mkdir -p /var/log/supervisor /etc/supervisor/conf.d
85
85
86
- # Install gcc, libc6-dev and python3-dev for compiling python-lzf
87
- RUN apt-get -y install build-essential libc6-dev python3-dev
86
+ # Install gcc, libc6-dev and git for compiling librdb
87
+ RUN apt-get -y install build-essential libc6-dev git
88
88
89
- # Install python-lzf
90
- RUN pip3 install 'python-lzf==0.2.4'
89
+ # Obtain librdb source codes
90
+ RUN git -C /tmp/ clone https://github.com/redis/librdb.git
91
91
92
- # Install rdbtools
93
- RUN pip3 install 'rdbtools==0.1.15'
92
+ # Build librdb
93
+ RUN cd /tmp/librdb/;git submodule update --init --recursive;make -j4
94
94
95
- # Uninstall gcc, libc6-dev and python3-dev for compiling python-lzf
96
- RUN apt-get -y purge build-essential libc6-dev python3-dev
95
+ # Install rdb-cli
96
+ RUN install -p -D -m 0775 /tmp/librdb/bin/rdb-cli /usr/bin/rdb-cli
97
+
98
+ # Clear librdb source codes
99
+ RUN rm -rf /tmp/librdb
100
+
101
+ # Uninstall gcc, libc6-dev and git for compiling librdb
102
+ RUN apt-get -y purge build-essential libc6-dev git
97
103
98
104
# Uninstall unused dependencies
99
105
RUN apt autoremove -y --purge
You can’t perform that action at this time.
0 commit comments