use sources.list to calc sonic-slave-user tag (#14409)

Why I did it
This is a fix for c63e9fe
SLAVE_TAG should include all dependencies used for SLAVE_BASE_TAG

How I did it
Take sources.list.* into account when calculate SLAVE_TAG

How to verify it
This commit is contained in:
Konstantin Vasin 2023-03-25 17:28:24 +03:00 committed by GitHub
parent fb6e37819b
commit 6ef32d1fdf
No account linked to committer's email address

View File

@ -245,6 +245,7 @@ SLAVE_BASE_TAG = $(shell \
SLAVE_TAG = $(shell \
(cat $(SLAVE_DIR)/Dockerfile.user \
$(SLAVE_DIR)/Dockerfile \
$(SLAVE_DIR)/sources.list.* \
$(SLAVE_DIR)/buildinfo/versions/versions-* \
&& echo $(USER)/$(PWD)/$(CONFIGURED_PLATFORM)) \
| sha1sum \