Skip to content

Commit 61ed04d

Browse files
authored
Merge pull request sonic-net#159 from mssonicbld/sonicbld/202205-merge
[code sync] Merge code from sonic-net/sonic-buildimage:202205 to 202205
2 parents 1e0771c + d4f37de commit 61ed04d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

dockers/docker-base-bullseye/Dockerfile.j2

+15
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,21 @@ RUN pip3 install supervisord-dependent-startup==1.4.0
7878

7979
RUN mkdir -p /etc/supervisor /var/log/supervisor
8080

81+
# Install gcc, libc6-dev and python3-dev for compiling python-lzf
82+
RUN apt-get -y install build-essential libc6-dev python3-dev
83+
84+
# Install python-lzf
85+
RUN pip3 install 'python-lzf==0.2.4'
86+
87+
# Install rdbtools
88+
RUN pip3 install 'rdbtools==0.1.15'
89+
90+
# Uninstall gcc, libc6-dev and python3-dev for compiling python-lzf
91+
RUN apt-get -y purge build-essential libc6-dev python3-dev
92+
93+
# Uninstall unused dependencies
94+
RUN apt autoremove -y --purge
95+
8196
RUN apt-get -y purge \
8297
exim4 \
8398
exim4-base \

0 commit comments

Comments
 (0)