forked from meyerson/anbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
59 lines (55 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/sh
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y \
build-essential \
cmake \
cmake-data \
cmake-extras \
debhelper \
dbus \
dbus-x11 \
git \
google-mock \
libboost-dev \
libboost-filesystem-dev \
libboost-log-dev \
libboost-iostreams-dev \
libboost-program-options-dev \
libboost-system-dev \
libboost-test-dev \
libboost-thread-dev \
libcap-dev \
libegl1-mesa-dev \
libgles2-mesa-dev \
libglib2.0-dev \
libglm-dev \
libgtest-dev \
liblxc1 \
libproperties-cpp-dev \
libprotobuf-dev \
libsdl2-dev \
libsdl2-image-dev \
libsystemd-dev \
lxc-dev \
pkg-config \
protobuf-compiler \
iproute2 \
iptables \
kmod \
x11-apps \
software-properties-common \
libpam-cgfs=3.0.1-0ubuntu1~18.04.2
# apt-get clean
WORKDIR /anbox
COPY . /anbox
RUN mkdir build || rm -rf build/*
RUN ls
WORKDIR /anbox/build
RUN cmake ..
RUN VERBOSE=1 make -j10
RUN VERBOSE=1 make test
RUN make install
ENV ANBOX_LOG_LEVEL='trace'
WORKDIR /anbox