Skip to content

Commit

Permalink
[build] Fix build issue in docker-ptf-sai caused by setuptools_scm ne…
Browse files Browse the repository at this point in the history
…w release (sonic-net#16636) (sonic-net#16680)

Why I did it
When SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT changed, almost all dockers need to be built again.
But currently it will be loaded by cache.

Work item tracking
Microsoft ADO (number only): 25123348
How I did it
Add $(DOCKER)_FILES into dependencies.

How to verify it
  • Loading branch information
mssonicbld authored Sep 26, 2023
1 parent 5b6fcb7 commit 2cfa8b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockers/docker-ptf-sai/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ RUN pip3 install crc16 \
importlib-metadata \
xmlrunner

# 8.0.1 breaks build on 09/20/2023
RUN pip3 install setuptools_scm==7.1.0

COPY \
{% for deb in docker_ptf_sai_debs.split(' ') -%}
debs/{{ deb }}{{' '}}
Expand Down

0 comments on commit 2cfa8b2

Please sign in to comment.