diff --git a/platform/mellanox/docker-syncd-mlnx.mk b/platform/mellanox/docker-syncd-mlnx.mk index 7dd1c77667e..3d784823d6b 100644 --- a/platform/mellanox/docker-syncd-mlnx.mk +++ b/platform/mellanox/docker-syncd-mlnx.mk @@ -1,5 +1,6 @@ # -# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES. +# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES +# Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,7 +26,7 @@ ifeq ($(ENABLE_ASAN), y) $(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD_DBG) endif -$(DOCKER_SYNCD_BASE)_FILES += $(ISSU_VERSION_FILE) +$(DOCKER_SYNCD_BASE)_FILES += $(RDB-CLI) $(ISSU_VERSION_FILE) $(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $(SYNCD_DBG) \ $(LIBSWSSCOMMON_DBG) \ diff --git a/platform/mellanox/docker-syncd-mlnx/Dockerfile.j2 b/platform/mellanox/docker-syncd-mlnx/Dockerfile.j2 index 2b3a5377dd3..5830c1d2350 100755 --- a/platform/mellanox/docker-syncd-mlnx/Dockerfile.j2 +++ b/platform/mellanox/docker-syncd-mlnx/Dockerfile.j2 @@ -1,7 +1,7 @@ ## ## SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES ## Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -## Apache-2.0 +## SPDX-License-Identifier: Apache-2.0 ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. @@ -68,6 +68,9 @@ COPY ["supervisord.conf.j2", "/usr/share/sonic/templates/"] COPY ["critical_processes", "/etc/supervisor/"] COPY ["platform_syncd_dump.sh", "/usr/bin/"] +COPY ["files/rdb-cli", "/usr/bin/"] +RUN chmod +x /usr/bin/rdb-cli + RUN mkdir -p /etc/mlnx/ COPY sai-*.profile /etc/mlnx/