2015-06-05 19:24:11 +02:00
|
|
|
# VERSION: 0.1
|
|
|
|
# DESCRIPTION: Create transmission container with its dependencies
|
|
|
|
# AUTHOR: Jessica Frazelle <jess@docker.com>
|
2015-06-01 03:53:57 +02:00
|
|
|
# COMMENTS:
|
2015-06-05 19:24:11 +02:00
|
|
|
# This file describes how to build a transmission container with all
|
|
|
|
# dependencies installed. It uses native X11 unix socket.
|
|
|
|
# Tested on Debian Jessie
|
2015-06-01 03:53:57 +02:00
|
|
|
# USAGE:
|
2015-06-05 19:24:11 +02:00
|
|
|
# # Download transmission-ui Dockerfile
|
|
|
|
# wget http://raw.githubusercontent.com/jfrazelle/dockerfiles/master/transmission-ui/Dockerfile
|
2015-06-01 03:53:57 +02:00
|
|
|
#
|
2015-06-05 19:24:11 +02:00
|
|
|
# # Build transmission image
|
|
|
|
# docker build -t jess/transmission-ui .
|
2015-06-01 03:53:57 +02:00
|
|
|
#
|
2015-06-05 19:24:11 +02:00
|
|
|
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
|
2015-06-05 20:55:25 +02:00
|
|
|
# -v /home/jessie/Torrents:/Torrents \
|
|
|
|
# -e DISPLAY=unix$DISPLAY jess/transmission-ui
|
2015-06-01 03:53:57 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# Base docker image
|
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
|
|
# Install transmission and its dependencies
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
transmission-cli \
|
|
|
|
transmission-common \
|
|
|
|
transmission-daemon \
|
|
|
|
transmission-gtk \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2015-06-01 03:53:57 +02:00
|
|
|
|
|
|
|
# Autorun transmission
|
|
|
|
CMD ["/usr/bin/transmission-gtk"]
|