mediapipe/mediapipe/examples/coral/Dockerfile.amd64
MediaPipe Team 710fb3de58 Project import generated by Copybara.
GitOrigin-RevId: 1610e588e497817fae2d9a458093ab6a370e2972
2021-08-18 17:45:46 -07:00

46 lines
1.5 KiB
Docker

# Copyright 2021 The MediaPipe Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM debian:buster
MAINTAINER <mediapipe@google.com>
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
crossbuild-essential-arm64 \
pkg-config \
zip \
unzip \
curl \
wget \
git \
tree \
vim \
sudo \
python3-all \
python3-pip \
python3-numpy \
ca-certificates \
software-properties-common \
libusb-1.0-0-dev \
libopencv-core-dev \
libopencv-imgproc-dev \
libopencv-video-dev \
libopencv-highgui-dev \
libopencv-videoio-dev \
libopencv-contrib-dev
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 3
RUN wget -O /usr/bin/bazel \
https://github.com/bazelbuild/bazelisk/releases/download/v1.10.0/bazelisk-linux-amd64 && \
echo "038c0990a48ccd69932e4e8ecf8baa459e05a6b4c9e4cc492ac836b777caaf9d /usr/bin/bazel" sha256sum --check - && \
chmod +x /usr/bin/bazel
ENV BAZEL_CPU=k8