Skip to content

Commit 212f01b

Browse files
committed
remove warning during lint
Signed-off-by: Srikanth Ramakrishna <srikanth.ramakrishna@intel.com>
1 parent 7284ff2 commit 212f01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ ARG XPU_SMI_VERSION
315315

316316
ARG API_URL=https://api.github.com/repos/intel/xpumanager/releases/tags/V${XPU_SMI_VERSION}
317317

318-
RUN curl -H "Accept: application/vnd.github.v3+json" -H "User-Agent: MyClient/1.0.0" "$API_URL" >> /tmp/asset_data.txt && \
318+
RUN wget -q --header="Accept: application/vnd.github.v3+json" --header="User-Agent: MyClient/1.0.0" -O - "$API_URL" | tee /tmp/asset_data.txt && \
319319
wget -q --no-check-certificate "$(jq -r '.assets[] | select(.name | test("^xpu-smi.*u22\\.04_amd64\\.deb$")) | .browser_download_url' < /tmp/asset_data.txt)" && \
320320
ldconfig && dpkg -i --force-all -- *.deb && \
321321
rm -rf -- *.deb /etc/apt/sources.list.d/intel-gpu-jammy.list /etc/apt/sources.list.d/oneAPI.list /tmp/asset_data.txt

0 commit comments

Comments
 (0)