-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathDockerfile
More file actions
63 lines (56 loc) · 1.66 KB
/
Dockerfile
File metadata and controls
63 lines (56 loc) · 1.66 KB
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
60
61
62
63
#Download base image for ubuntu
FROM ubuntu
# Update Ubuntu Software repository
RUN apt-get update
#install required packages
RUN apt-get install -y \
git \
cmake \
debhelper \
libgee-0.8-dev \
libgtk-3-dev \
libgranite-dev \
libsqlite3-dev \
libxml2 \
libxml2-dev \
libnotify-dev \
valac \
net-tools \
nmap \
traceroute \
vnstat \
nethogs \
curl \
wireless-tools \
iproute2 \
gobject-introspection \
libgirepository1.0-dev \
&& rm -rf /var/lib/apt/lists/*
RUN dpkg -l libgee-0.8-dev; \
dpkg -l libgranite-dev; \
dpkg -l libgtk-3-dev; \
dpkg -l libsqlite3-dev; \
dpkg -l libxml2-dev; \
dpkg -l libnotify-dev;
#build and install granite0.5
RUN mkdir /home/git; \
cd /home/git; \
git clone https://github.com/elementary/granite.git -b master; \
cd granite; \
mkdir build; \
cd build; \
cmake -DCMAKE_INSTALL_PREFIX=/usr ../; \
make; \
make install
#build and install nutty
RUN mkdir /home/git; \
cd /home/git; \
git clone https://github.com/babluboy/nutty.git -b master; \
cd nutty; \
mkdir build; \
cd build; \
cmake -DCMAKE_INSTALL_PREFIX=/usr ../; \
make; \
make install
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*