-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
41 lines (37 loc) · 900 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
37
38
39
40
41
FROM alpine
# Add general dependencies
RUN apk add --no-cache \
cairo \
dbus \
gdk-pixbuf \
glib \
librsvg \
libxft \
libxinerama \
libxrandr \
libxscrnsaver \
pango
# Build and install dunst
RUN apk add --no-cache --virtual dunstbuild \
cairo-dev \
dbus-dev \
gcc \
gdk-pixbuf-dev \
git \
glib-dev \
libnotify-dev \
libxft-dev \
libxinerama-dev \
libxrandr-dev \
libxscrnsaver-dev \
make \
musl-dev \
pango-dev \
perl \
&& git clone https://github.com/dunst-project/dunst /tmp/dunst \
&& sed -i 's/-g//g' /tmp/dunst/config.mk \
&& make -C /tmp/dunst -j all install test \
&& rm -rf /tmp/dunst \
&& apk del --purge dunstbuild
ADD entrypoint.sh /srv/entrypoint
ENTRYPOINT ["/srv/entrypoint"]