-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (18 loc) · 790 Bytes
/
Dockerfile
File metadata and controls
23 lines (18 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Firefox over VNC
#
# VERSION 0.1
# DOCKER-VERSION 0.2
from ubuntu:14.04
# make sure the package repository is up to date
run apt-get update
# Install dependencies
run apt-get install -y build-essential libsdl-mixer1.2-dev libsdl-net1.2-dev git gcc x11vnc xvfb wget
run mkdir ~/.vnc
# Setup a password
run x11vnc -storepasswd 1234 ~/.vnc/passwd
# Setup doom
run git clone https://github.com/GideonRed/dockerdoom.git
run wget http://distro.ibiblio.org/pub/linux/distributions/slitaz/sources/packages/d/doom1.wad
run cd /dockerdoom/trunk && ./configure && make && make install
# Autostart firefox (might not be the best way to do it, but it does the trick)
run bash -c 'echo "/usr/local/games/psdoom -warp E1M1" >> /root/.bashrc'