Skip to content

Commit e638547

Browse files
committed
Revert "[Mellanox] Install python2 on syncd (sonic-net#14151)"
This reverts commit c4e3445.
1 parent 5ad93e6 commit e638547

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

platform/mellanox/docker-syncd-mlnx/Dockerfile.j2

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,17 @@ ENV DEBIAN_FRONTEND=noninteractive
2929
RUN apt-get update && \
3030
apt-get install -y \
3131
libxml2 \
32-
python-dev \
3332
python3-pip \
3433
python3-dev \
34+
python-is-python3 \
3535
{%- if ENABLE_ASAN == "y" %}
3636
libasan6 \
3737
{%- endif %}
38-
python-setuptools \
3938
python3-setuptools
4039

4140
RUN pip3 install --upgrade pip
4241
RUN apt-get purge -y python-pip
4342

44-
RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
45-
4643
{% if docker_syncd_mlnx_debs.strip() -%}
4744
# Copy locally-built Debian package dependencies
4845
{{ copy_files("debs/", docker_syncd_mlnx_debs.split(' '), "/debs/") }}

0 commit comments

Comments
 (0)