Skip to content

Commit bc92acf

Browse files
committed
Update dockerfile (#496)
1 parent fb91e07 commit bc92acf

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

platforms/coreultra/arl/usecases/openvino/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USER root
88
ENV NPU_SETUP=false
99
RUN apt-get update \
1010
&& apt-get install -y wget gnupg curl libtbbmalloc2 libtbb12 kmod
11-
RUN wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
11+
RUN set -o pipefail && wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
1212
gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg && \
1313
echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu noble client" | \
1414
tee /etc/apt/sources.list.d/intel-gpu-noble.list
@@ -30,7 +30,7 @@ RUN wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.5
3030
&& wget https://github.com/intel/compute-runtime/releases/download/24.52.32224.5/libigdgmm12_22.5.5_amd64.deb
3131

3232
RUN echo -e "Verify sha256 sums for packages"
33-
RUN wget https://github.com/intel/compute-runtime/releases/download/24.52.32224.5/ww52.sum \
33+
RUN set -o pipefail && wget https://github.com/intel/compute-runtime/releases/download/24.52.32224.5/ww52.sum \
3434
&& sha256sum -c ww52.sum
3535

3636
RUN echo -e "\nInstalling compute runtime"
@@ -40,4 +40,4 @@ USER openvino
4040
CMD ["/tmp/npu_container.sh"]
4141

4242
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s \
43-
CMD sh -c "clinfo | grep 'Driver Version' | awk '{print $NF}' || exit 1"
43+
CMD sh -c "set -o pipefail && clinfo | grep 'Driver Version' | awk '{print \$NF}' || exit 1"

platforms/coreultra/lnl/usecases/openvino/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USER root
88
ENV NPU_SETUP=false
99
RUN apt-get update \
1010
&& apt-get install -y wget gnupg curl libtbbmalloc2 libtbb12 kmod
11-
RUN wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
11+
RUN set -o pipefail && wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
1212
gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg && \
1313
echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu noble client" | \
1414
tee /etc/apt/sources.list.d/intel-gpu-noble.list
@@ -40,4 +40,4 @@ USER openvino
4040
CMD ["/tmp/npu_container.sh"]
4141

4242
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s \
43-
CMD sh -c "clinfo | grep 'Driver Version' | awk '{print $NF}' || exit 1"
43+
CMD sh -c "set -o pipefail && clinfo | grep 'Driver Version' | awk '{print $NF}' || exit 1"

platforms/coreultra/mtluh/usecases/openvino/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USER root
88
ENV NPU_SETUP=false
99
RUN apt-get update \
1010
&& apt-get install -y wget gnupg curl libtbbmalloc2 libtbb12 kmod
11-
RUN wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
11+
RUN set -o pipefail && wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
1212
gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg && \
1313
echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy client" | \
1414
tee /etc/apt/sources.list.d/intel-gpu-jammy.list

0 commit comments

Comments
 (0)