Skip to content

Instantly share code, notes, and snippets.

@dsuess
Created March 7, 2019 05:30
Show Gist options
  • Save dsuess/e71fe753098bfdf97c4cc685d0faf9ab to your computer and use it in GitHub Desktop.
Save dsuess/e71fe753098bfdf97c4cc685d0faf9ab to your computer and use it in GitHub Desktop.
Dockerfile for nnstreamer
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y software-properties-common meson libgst-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libglib2.0-dev \
libcairo2-dev locales gstreamer1.0-tools gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly git
RUN add-apt-repository ppa:nnstreamer/ppa && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y nnstreamer nnstreamer-dev nnstreamer-tensorflow libprotobuf-dev
RUN git clone --recursive https://github.com/nnsuite/nnstreamer-example /app && \
cd /app && \
meson build && \
cd build && \
ninja && \
cd .. && \
meson install
ADD https://raw.githubusercontent.com/nnsuite/testcases/master/DeepLearningModels/tensorflow/ssdlite_mobilenet_v2/ssdlite_mobilenet_v2.pb /app/
ADD https://raw.githubusercontent.com/nnsuite/testcases/master/DeepLearningModels/tensorflow/ssdlite_mobilenet_v2/coco_labels_list.txt /app/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment