From fa27c135a4e3a4a9738847ff8892fac08d18ea79 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Mon, 26 Jul 2021 21:36:25 +0800 Subject: [PATCH] [NPU] install lsof in npu docker (#34386) --- tools/dockerfile/Dockerfile.npu_aarch64 | 2 ++ tools/dockerfile/Dockerfile.npu_x86_64 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tools/dockerfile/Dockerfile.npu_aarch64 b/tools/dockerfile/Dockerfile.npu_aarch64 index e95ff95187..9317311f2a 100644 --- a/tools/dockerfile/Dockerfile.npu_aarch64 +++ b/tools/dockerfile/Dockerfile.npu_aarch64 @@ -96,6 +96,8 @@ RUN localedef -i en_US -f UTF-8 en_US.UTF-8 RUN apt-get install libprotobuf-dev -y +RUN apt install lsof -y + # Older versions of patchelf limited the size of the files being processed and were fixed in this pr. # https://github.com/NixOS/patchelf/commit/ba2695a8110abbc8cc6baf0eea819922ee5007fa # So install a newer version here. diff --git a/tools/dockerfile/Dockerfile.npu_x86_64 b/tools/dockerfile/Dockerfile.npu_x86_64 index 6689deedf4..160681a279 100644 --- a/tools/dockerfile/Dockerfile.npu_x86_64 +++ b/tools/dockerfile/Dockerfile.npu_x86_64 @@ -96,6 +96,8 @@ RUN localedef -i en_US -f UTF-8 en_US.UTF-8 RUN apt-get install libprotobuf-dev -y +RUN apt install lsof -y + # Older versions of patchelf limited the size of the files being processed and were fixed in this pr. # https://github.com/NixOS/patchelf/commit/ba2695a8110abbc8cc6baf0eea819922ee5007fa # So install a newer version here. -- GitLab