Last active
October 21, 2022 12:48
-
-
Save Namburger/5c18a894951cb4bf26d6033b029e4144 to your computer and use it in GitHub Desktop.
ubuntu18.04 coral minimal example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
WORKDIR /home | |
ENV HOME /home | |
RUN cd ~ | |
RUN apt-get update | |
RUN apt-get install -y git nano python3-pip python-dev pkg-config wget usbutils curl | |
RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" \ | |
| tee /etc/apt/sources.list.d/coral-edgetpu.list | |
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
RUN apt-get update | |
RUN git clone https://github.com/google-coral/pycoral.git | |
RUN git clone https://github.com/google-coral/test_data.git | |
RUN apt install -y python3-pycoral |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create Dockerfile with above content
Build docker image: