From c4490605da62f5d07e15e85542f30766e0473980 Mon Sep 17 00:00:00 2001 From: fsavanur <152383368+fsavanur@users.noreply.github.com> Date: Wed, 22 Jul 2026 12:49:55 +0530 Subject: [PATCH 1/2] Update pyt_wan2.1_inference.ubuntu.amd.Dockerfile --- docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile b/docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile index 55e0504e..fc198372 100644 --- a/docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile +++ b/docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile @@ -53,8 +53,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ #For multigpu run, install following RUN pip install "xfuser>=0.4.1" -# ROCm gpg key -RUN wget -q -O - http://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add - +# ROCm gpg key (keyring method — avoids deprecated apt-key / gpg-agent) +RUN apt-get update && apt-get install -y --no-install-recommends wget gnupg ca-certificates && \ + rm -rf /var/lib/apt/lists/* && \ + mkdir -p /etc/apt/trusted.gpg.d && \ + wget -qO- https://repo.radeon.com/rocm/rocm.gpg.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/rocm.gpg RUN apt update && apt install -y \ unzip \ jq From ec03416122fa5bca8e13166fec795ab658838ddf Mon Sep 17 00:00:00 2001 From: fsavanur <152383368+fsavanur@users.noreply.github.com> Date: Wed, 22 Jul 2026 13:08:12 +0530 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile b/docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile index fc198372..72a70cc6 100644 --- a/docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile +++ b/docker/pyt_wan2.1_inference.ubuntu.amd.Dockerfile @@ -55,7 +55,7 @@ RUN pip install "xfuser>=0.4.1" # ROCm gpg key (keyring method — avoids deprecated apt-key / gpg-agent) RUN apt-get update && apt-get install -y --no-install-recommends wget gnupg ca-certificates && \ - rm -rf /var/lib/apt/lists/* && \ + apt-get clean && rm -rf /var/lib/apt/lists/* && \ mkdir -p /etc/apt/trusted.gpg.d && \ wget -qO- https://repo.radeon.com/rocm/rocm.gpg.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/rocm.gpg RUN apt update && apt install -y \