2015-06-05 19:24:11 +02:00
|
|
|
# DESCRIPTION: Create transmission container with its dependencies
|
2016-09-20 00:25:05 +02:00
|
|
|
# AUTHOR: Jessie Frazelle <jess@linux.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
|
2016-09-19 20:06:08 +02:00
|
|
|
# dependencies installed. It uses native X11 unix socket.
|
2015-06-05 19:24:11 +02:00
|
|
|
# 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
|
2016-10-25 22:37:56 +02:00
|
|
|
# wget https://raw.githubusercontent.com/jessfraz/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
|
2018-09-14 16:09:44 +02:00
|
|
|
FROM debian:buster-slim
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-06-01 03:53:57 +02:00
|
|
|
|
|
|
|
# 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"]
|