forked from DisplayLink/evdi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
executable file
·41 lines (34 loc) · 1.25 KB
/
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
37
38
39
40
41
# Copyright (c) 2022 DisplayLink (UK) Ltd.
FROM debian:bullseye
MAINTAINER Synaptics Technical Support <[email protected]>
# Install basic tools
RUN apt-get update && apt-get install -y \
curl \
coreutils \
fakeroot \
file \
git \
lintian \
make \
shellcheck \
pkg-config \
wget
# Install java for Synopsys detect
RUN apt-get update && apt-get install -y default-jre default-jdk
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
RUN dpkg --add-architecture i386
RUN dpkg --add-architecture armhf
RUN dpkg --add-architecture arm64
# Install linux kernel build dependencies
RUN apt-get update && apt-get install -y bc bison flex libelf-dev libssl-dev
# Install libevdi dependencies
RUN apt-get update && apt-get install -y libdrm-dev libc6-dev
# C++ gcc and gcc crossompilers
RUN apt-get update && apt-get install -y gcc g++
RUN apt-get update \
&& apt-get install -y build-essential gcc-multilib g++-multilib
RUN apt-get update && apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
RUN apt-get update && apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
# Dependencies for pybind
RUN apt-get update && apt-get install -y python3 libpython3-dev python3-pip
RUN pip3 install pybind11