From f4737bf2ac3589bec1c3aa7df3b28366f8a0d9a3 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Wed, 26 Apr 2023 10:22:55 -0700 Subject: [PATCH] docker: fix stupid bash/zsh issue --- docker/Dockerfile.full | 14 +++++++------- docker/template/Dockerfile.full.header | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docker/Dockerfile.full b/docker/Dockerfile.full index 7d2f2452d..f022358dd 100644 --- a/docker/Dockerfile.full +++ b/docker/Dockerfile.full @@ -24,6 +24,13 @@ RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - RUN apt-get -y update RUN apt-get -y install libedgetpu1-std +# intel opencl gpu for openvino +RUN if [ "$(uname -m)" = "x86_64" ]; \ + then \ + apt-get -y install \ + intel-opencl-icd; \ + fi + RUN apt-get -y install software-properties-common apt-utils RUN apt-get -y update RUN apt-get -y upgrade @@ -43,13 +50,6 @@ RUN apt-get -y install \ RUN apt-get -y install \ libjpeg-dev zlib1g-dev -# intel opencl gpu for openvino -RUN if [ "$(uname -m)" == "x86_64" ]; \ - then \ - apt-get -y install \ - intel-opencl-icd; \ - fi - # gstreamer native https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c#install-gstreamer-on-ubuntu-or-debian RUN apt-get -y install \ gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa \ diff --git a/docker/template/Dockerfile.full.header b/docker/template/Dockerfile.full.header index 567e9ee3b..c331869c3 100644 --- a/docker/template/Dockerfile.full.header +++ b/docker/template/Dockerfile.full.header @@ -21,6 +21,13 @@ RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - RUN apt-get -y update RUN apt-get -y install libedgetpu1-std +# intel opencl gpu for openvino +RUN if [ "$(uname -m)" = "x86_64" ]; \ + then \ + apt-get -y install \ + intel-opencl-icd; \ + fi + RUN apt-get -y install software-properties-common apt-utils RUN apt-get -y update RUN apt-get -y upgrade @@ -40,13 +47,6 @@ RUN apt-get -y install \ RUN apt-get -y install \ libjpeg-dev zlib1g-dev -# intel opencl gpu for openvino -RUN if [ "$(uname -m)" == "x86_64" ]; \ - then \ - apt-get -y install \ - intel-opencl-icd; \ - fi - # gstreamer native https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c#install-gstreamer-on-ubuntu-or-debian RUN apt-get -y install \ gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa \