-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (32 loc) · 690 Bytes
/
Copy pathDockerfile
File metadata and controls
39 lines (32 loc) · 690 Bytes
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
FROM ubuntu:disco
MAINTAINER nick@incension.com
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y \
xrdp \
openbox \
obconf \
obmenu \
openbox-menu \
dunst \
xinput \
tint2 \
supervisor \
dbus-x11 \
dbus-user-session \
git \
curl \
sudo \
iputils-ping \
vim && \
apt-get clean
ADD supervisor.conf /etc/supervisor/conf.d/xrdp.conf
ADD skel-config/ /etc/skel/
ADD config/locale /etc/default/
ADD config/xrdp.ini /etc/xrdp/xrdp.ini
ADD config/sesman.ini /etc/xrdp/sesman.ini
RUN useradd -mp j9X2HRQvPCphA -s /bin/bash -G sudo nick
RUN xrdp-keygen xrdp auto && \
mkdir -p /var/run/dbus
CMD ["supervisord", "-n"]
EXPOSE 3389