-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
44 lines (38 loc) · 1.07 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
FROM ubuntu:bionic
LABEL maintainer="nugulinux@gmail.com" \
version="0.1" \
description="nugulinux sdk"
ENV DEBIAN_FRONTEND=noninteractive \
LC_ALL=en_US.UTF-8 \
LANG=$LC_ALL
RUN apt-get update && apt-get install -y software-properties-common ca-certificates language-pack-en \
&& locale-gen $LC_ALL \
&& dpkg-reconfigure locales \
&& add-apt-repository -y ppa:nugulinux/sdk \
&& apt-get install -y --no-install-recommends \
build-essential \
dbus \
git \
gstreamer1.0-pulseaudio \
gstreamer1.0-tools \
libdbus-glib-1-dev \
libnugu \
libnugu-plugins-default \
libnugu-examples \
mdbus2 \
nugud \
pulseaudio \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# dbus-daemon-proxy tool
RUN git clone https://github.com/webispy/dbus-daemon-proxy.git ~/dproxy \
&& cd ~/dproxy \
&& make \
&& cp dbus-daemon-proxy /usr/bin/ \
&& cd \
&& rm -rf ~/dproxy
EXPOSE 8080
ENV SHELL=/bin/bash
COPY startup.sh start-daemon.sh /usr/bin/
ENTRYPOINT ["/usr/bin/startup.sh"]
CMD ["/bin/bash"]