Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Nov 20, 2024
1 parent cf76b1a commit 44ee624
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
6 changes: 0 additions & 6 deletions docker/main/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ ARG TARGETARCH
RUN apt-get -qq update \
&& apt-get -qq install -y \
apt-transport-https \
gnupg \
wget \
# the key fingerprint can be obtained from https://ftp-master.debian.org/keys.html
&& wget -qO- "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x4D64FEC119C2029067D6E791F8D2585B8783D481" | \
gpg --dearmor > /usr/share/keyrings/debian-archive-bookworm-stable.gpg \
&& sed -i 's|/usr/share/keyrings/debian-archive-keyring.gpg|/usr/share/keyrings/debian-archive-bookworm-stable.gpg|g' /etc/apt/sources.list.d/debian.sources \
&& apt-get -qq update \
&& apt-get -qq install -y \
python3 \
Expand Down
14 changes: 0 additions & 14 deletions docker/main/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,6 @@ apt-get -qq install --no-install-recommends -y \

mkdir -p -m 600 /root/.gnupg

# add coral repo
curl -fsSLo - https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
gpg --dearmor -o /etc/apt/trusted.gpg.d/google-cloud-packages-archive-keyring.gpg
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list
echo "libedgetpu1-max libedgetpu/accepted-eula select true" | debconf-set-selections

# enable non-free repo in Debian
if grep -q "Debian" /etc/issue; then
sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list
fi

# coral drivers
mkdir /tmp/

# install coral runtime
wget -q -O /tmp/libedgetpu1-max.deb "https://github.com/feranick/libedgetpu/releases/download/16.0TF2.17.0-1/libedgetpu1-max_16.0tf2.17.0-1.bookworm_${TARGETARCH}.deb"
dpkg -i /tmp/libedgetpu1-max.deb
Expand Down

0 comments on commit 44ee624

Please sign in to comment.