Skip to content

Commit 88191b0

Browse files
authored
Add python-is-python3 package for bullseye base docker (#11895)
Why I did it In latest syncd container, it is installed bullseye, can't find command '/usr/bin/python'. Some scripts such as test_copp still calls /usr/bin/python in syncd. Submitted the change in #11807 for syncd docker, but it's better to add it in bullseye base docker. How I did it Install python-is-python3 package in bullseye base docker to resolve this issue, whatever run python or python3, it will run /usr/bin/python3, will not cause the error of can't find command '/usr/bin/python' How to verify it run python in syncd container. Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
1 parent 353b274 commit 88191b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dockers/docker-base-bullseye/Dockerfile.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ RUN apt-get update && \
4848
python3 \
4949
python3-distutils \
5050
python3-pip \
51+
python-is-python3 \
5152
vim-tiny \
5253
# Install redis-tools
5354
redis-tools \

0 commit comments

Comments
 (0)