Skip to content

Commit

Permalink
Merge branch 'main' of github.com:koush/scrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Dec 28, 2024
2 parents e33a793 + 699eeba commit 4206ee4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
4 changes: 4 additions & 0 deletions install/docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" |
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN apt-get -y update && apt-get -y install libedgetpu1-std

# set default shell to bash
RUN chsh -s /bin/bash
ENV SHELL="/bin/bash"

ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
Expand Down
8 changes: 7 additions & 1 deletion install/docker/install-amd-graphics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ fi

# https://amdgpu-install.readthedocs.io/en/latest/install-prereq.html#installing-the-installer-package

FILENAME="amdgpu-install_6.3.60300-1_all.deb"
FILENAME=$(curl -s -L https://repo.radeon.com/amdgpu-install/latest/ubuntu/$distro/ | grep -o 'amdgpu-install_[^ ]*' | cut -d'"' -f1)
if [ -z "$FILENAME" ]
then
echo "AMD graphics package can not be installed. Could not find the package name."
exit 1
fi

set -e
mkdir -p /tmp/amd
cd /tmp/amd
Expand Down
4 changes: 4 additions & 0 deletions install/docker/template/Dockerfile.full.footer
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" |
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN apt-get -y update && apt-get -y install libedgetpu1-std

# set default shell to bash
RUN chsh -s /bin/bash
ENV SHELL="/bin/bash"

ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
Expand Down

0 comments on commit 4206ee4

Please sign in to comment.