forked from gauthierc/SpiceMate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (25 loc) · 1.01 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
# Minimal lxde desktop with xspice-server
# To build:
# 1) Install docker (http://docker.io)
# 2) Run:
# docker run -d <imageid>
#
# VERSION 0.3
# DOCKER-VERSION 1.3.2
from ubuntu:14.04
MAINTAINER Gauthier C.
run apt-get update && apt-get -y install software-properties-common
run add-apt-repository ppa:ubuntu-mate-dev/ppa
run add-apt-repository ppa:ubuntu-mate-dev/trusty-mate
run add-apt-repository ppa:serge-hallyn/virt && apt-get update
run DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
run DEBIAN_FRONTEND=noninteractive apt-get -y install xserver-xspice libpam-ldapd x11-xserver-utils
run DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends ubuntu-mate-core ubuntu-mate-desktop
run /usr/sbin/locale-gen fr_FR.UTF-8
ADD spiceqxl.xorg.conf /etc/X11/
ADD resolution.desktop /etc/xdg/autostart/
ADD keyboard.desktop /etc/xdg/autostart/
ADD run.sh /root/
VOLUME ["/home"]
expose 5900
cmd /root/run.sh