-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
90 lines (87 loc) · 8.12 KB
/
Copy pathDockerfile
File metadata and controls
90 lines (87 loc) · 8.12 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
FROM alpine
MAINTAINER Degenerate76
# Update git tags here for new releases
ENV GUACD_VERSION 1.1.0
#ENV PULSEAUDIO_VERSION HEAD
ENV CXX='gcc'
RUN \
apk add --update --no-cache \
cairo \
libjpeg-turbo \
libpng \
pango \
libssh2 \
libvncserver \
openssl \
libvorbis \
libwebp \
libsndfile \
pulseaudio \
libusb \
freerdp \
libwebsockets && \
\
apk add --update --no-cache --virtual .build-deps \
git \
make \
automake \
autoconf \
cmake \
gcc \
libtool \
build-base \
linux-headers \
bsd-compat-headers \
intltool \
musl-dev \
cairo-dev \
libjpeg-turbo-dev \
libpng-dev \
pango-dev \
libssh2-dev \
libvncserver-dev \
openssl-dev \
libvorbis-dev \
libwebp-dev \
libsndfile-dev \
pulseaudio-dev \
libusb-dev \
freerdp-dev \
libwebsockets-dev && \
\
mkdir /tmp/build && \
cd /tmp/build && \
\
git clone https://github.com/sean-/ossp-uuid.git && \
cd ossp-uuid && \
./configure && \
make && \
make install && \
cd .. && \
ln -s /usr/local/lib/libuuid.so.16.0.22 /lib/libossp-uuid.so && \
\
git clone --branch 0.23 https://github.com/seanmiddleditch/libtelnet.git && \
cd libtelnet && \
autoreconf -i && \
autoconf && \
./configure && \
make && \
make install && \
cd .. && \
\
git clone --branch $GUACD_VERSION https://github.com/apache/guacamole-server.git && \
cd guacamole-server && \
autoreconf -i && \
autoconf && \
./configure && \
make && \
make install && \
cd .. && \
\
apk del .build-deps && \
rm -Rf /tmp/build && \
rm -f /var/cache/apk/* && \
mkdir -p /usr/share/fonts/TTF
COPY LiberationMono-Regular.ttf /usr/share/fonts/TTF/
EXPOSE 4822
CMD ["/usr/local/sbin/guacd", "-b", "0.0.0.0", "-f"]