-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile.client
39 lines (33 loc) · 1.25 KB
/
Dockerfile.client
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
FROM alpine:3.7
ARG ROFI_VERSION=1.5.1
#--virtual .build-deps \
RUN apk add --update --no-cache \
alpine-sdk
RUN apk add \
bison \
libxkbcommon \
libxkbcommon-dev \
glib-dev \
xcb-util-image xcb-util-xrm xcb-util-xrm-dev xcb-util-cursor xcb-util-cursor-dev xcb-util-renderutil xcb-util-renderutil-dev xcb-util-renderutil-dev xcb-util-image xcb-util-image-dev xcb-util-wm xcb-util-wm-dev xcb-util-keysyms xcb-util-keysyms-dev xcb-proto xcb-util xcb-util-dev \
pango-dev \
startup-notification-dev \
librsvg-dev \
check-dev \
xkeyboard-config \
bash \
flex \
xdotool \
ttf-ubuntu-font-family \
libxt-dev libxtst-dev libxinerama-dev \
jq
WORKDIR /tmp
RUN curl -Lo - https://github.com/DaveDavenport/rofi/releases/download/${ROFI_VERSION}/rofi-${ROFI_VERSION}.tar.gz | tar zxvf -
WORKDIR /tmp/rofi-${ROFI_VERSION}
RUN ./configure
RUN make
RUN make install
ENV PATH /usr/local/bin/:$PATH
ADD bin/silverkey.sh /usr/local/bin/silverkey.sh
ADD bin/silverkey-lookup.sh /usr/local/bin/silverkey-lookup.sh
ADD bin/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]