Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (45 sloc) 1.56 KB
FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu16.04
arg caffe_version=1.0
arg protobuf_version=3.6.1
arg openpose_version=1.4.0
# Openpose Requirements
run apt-get update -y && apt-get upgrade -y
# Install Utilities
run apt-get install -y apt-utils
run apt-get install -y unzip lsof apt-utils lsb-core libatlas-base-dev curl
# Install Build Tools/Essentials
run apt-get install -y cmake make g++ autoconf automake libtool
# Install Boost, HD5 & Glog (Google's logger)
run apt-get install -y libgoogle-glog-dev libboost-all-dev libhdf5-serial-dev
# Install OpenCV
run apt-get install -y python-pip libopencv-dev python-opencv
# Downloading protobuf
run curl -o -L$protobuf_version/protobuf-all-$
run unzip && rm
run mv protobuf-$protobuf_version protobuf
workdir protobuf
# Installing protobuf
run ./configure
run make
run make check
run make install
run ldconfig
workdir /
# Downloading openpose
RUN curl -o -L
run unzip && rm
run mv openpose-master openpose
workdir /openpose
# Donwloading caffe
run curl -o -L
run unzip && rm
run mv caffe-master/* 3rdparty/caffe
run rm -rf caffe-master
# Installing openpose (and caffe)
RUN mkdir build
run cd build
workdir /openpose/build
run cmake ..
run make -j`nproc`
run make install
workdir /openpose
You can’t perform that action at this time.