-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDockerfile
36 lines (33 loc) · 872 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM ubuntu:20.04
# Set timezone and locale
RUN ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
# Install necessary packages
RUN apt-get update && apt-get install --no-install-recommends -y \
libtbb2 \
libyaml-cpp-dev \
git \
vim \
nano \
cmake \
wget \
libopencv-dev \
pkg-config \
g++ \
gcc \
libc6-dev \
make \
build-essential \
sudo \
ocl-icd-libopencl1 \
python3 \
python3-venv \
python3-pip \
libpython3.8 && \
apt-get clean
# Download and install OpenVINO toolkit
RUN mkdir /opt/intel && \
cd /opt/intel && \
wget -O openvino.tgz https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/linux/l_openvino_toolkit_ubuntu20_2023.3.0.13775.ceeafaf64f3_x86_64.tgz && \
tar -xvf openvino.tgz && \
rm openvino.tgz && \
mv l_openvino* openvino