docker: fix stupid bash/zsh issue

This commit is contained in:
Koushik Dutta
2023-04-26 10:22:55 -07:00
parent 9ef33e156f
commit f4737bf2ac
2 changed files with 14 additions and 14 deletions

View File

@@ -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 \

View File

@@ -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 \