dockerfiles/termboy/Dockerfile
Jess Frazelle cfd9f6181e
jfrazelle -> jessfraz
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-09-30 10:47:52 -07:00

52 lines
1.0 KiB
Docker

# DESCRIPTION: Termboy in a container
# AUTHOR: Jessie Frazelle <jess@linux.com>
# COMMENTS:
# This file describes how to build termboy
# in a container with all dependencies installed.
# Tested on Debian Jessie.
# USAGE:
# # Download termboy Dockerfile
# wget http://raw.githubusercontent.com/jessfraz/dockerfiles/master/termboy/Dockerfile
#
# # Build termboy image
# docker build -t termboy .
#
# docker run -it \
# --device /dev/snd \
# termboy
#
# Base docker image
FROM debian:stretch
MAINTAINER Jessie Frazelle <jess@linux.com>
ENV DEBIAN_FRONTEND noninteractive
# Install dependencies
RUN apt-get update && apt-get install -y \
ca-certificates \
console-setup \
console-setup-linux \
g++ \
git \
kbd \
libasound2-dev \
libncurses5-dev \
libncursesw5-dev \
make \
sudo \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/dobyrch/termboy --depth 1 /src \
&& cd /src \
&& make \
&& make install || true
# add games
COPY games /games
# Autorun termboy
ENTRYPOINT ["/usr/bin/termboy"]