2015-06-05 19:24:11 +02:00
|
|
|
# VERSION: 0.1
|
|
|
|
# DESCRIPTION: Termboy in a container
|
|
|
|
# AUTHOR: Jessica Frazelle <jess@docker.com>
|
2015-04-10 07:07:40 +02:00
|
|
|
# COMMENTS:
|
2015-06-05 19:24:11 +02:00
|
|
|
# This file describes how to build termboy
|
|
|
|
# in a container with all dependencies installed.
|
|
|
|
# Tested on Debian Jessie.
|
2015-04-10 07:07:40 +02:00
|
|
|
# USAGE:
|
2015-06-05 19:24:11 +02:00
|
|
|
# # Download termboy Dockerfile
|
|
|
|
# wget http://raw.githubusercontent.com/jfrazelle/dockerfiles/master/termboy/Dockerfile
|
2015-04-10 07:07:40 +02:00
|
|
|
#
|
2015-06-05 19:24:11 +02:00
|
|
|
# # Build termboy image
|
|
|
|
# docker build -t termboy .
|
2015-04-10 07:07:40 +02:00
|
|
|
#
|
2015-06-05 19:24:11 +02:00
|
|
|
# docker run -it termboy
|
2015-04-10 07:07:40 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# Base docker image
|
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
|
|
ENV TERM linux
|
|
|
|
ENV HOME /root
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
COPY termboy-go /usr/bin/termboy-go
|
|
|
|
|
|
|
|
# Install dependencies
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
kbd && \
|
|
|
|
mkdir -p $HOME/.config/termboy
|
2015-04-10 07:07:40 +02:00
|
|
|
|
|
|
|
# add games
|
|
|
|
COPY games $HOME/games
|
|
|
|
|
|
|
|
# Autorun termboy
|
|
|
|
ENTRYPOINT ["/usr/bin/termboy-go"]
|