2015-06-05 19:24:11 +02:00
|
|
|
# VERSION: 0.1
|
|
|
|
# DESCRIPTION: Run text-based game dunnet in a container
|
|
|
|
# AUTHOR: Jessica Frazelle <jess@docker.com>
|
2014-10-20 10:20:26 +02:00
|
|
|
# COMMENTS:
|
2015-06-05 19:24:11 +02:00
|
|
|
# This file describes how to build dunnet in a container with all
|
|
|
|
# dependencies installed.
|
|
|
|
# Tested on Debian Jessie
|
2014-10-20 10:20:26 +02:00
|
|
|
# USAGE:
|
2015-06-05 19:24:11 +02:00
|
|
|
# # Download dunnet Dockerfile
|
|
|
|
# wget http://raw.githubusercontent.com/jfrazelle/dockerfiles/master/dunnet/Dockerfile
|
2014-10-20 10:20:26 +02:00
|
|
|
#
|
2015-06-05 19:24:11 +02:00
|
|
|
# # Build dunnet image
|
|
|
|
# docker build -t dunnet .
|
2014-10-20 10:20:26 +02:00
|
|
|
#
|
2015-06-05 19:24:11 +02:00
|
|
|
# docker run -it dunnet
|
2014-10-20 10:20:26 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# Base docker image
|
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
|
|
# Install emacs
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
emacs \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2014-10-20 10:20:26 +02:00
|
|
|
|
|
|
|
# Autorun dunnet
|
|
|
|
CMD ["/usr/bin/emacs", "-batch", "-l", "dunnet"]
|