2014-11-09 15:23:18 +00:00
|
|
|
# Transmission and OpenVPN
|
|
|
|
#
|
2015-09-10 20:37:03 +00:00
|
|
|
# Version 1.5
|
2014-11-09 15:23:18 +00:00
|
|
|
|
2018-02-02 07:54:32 +00:00
|
|
|
FROM ubuntu:16.04
|
|
|
|
MAINTAINER MarkusMcNugen
|
2014-11-09 15:23:18 +00:00
|
|
|
|
|
|
|
VOLUME /data
|
2015-05-24 17:05:05 +00:00
|
|
|
VOLUME /config
|
2014-11-09 15:23:18 +00:00
|
|
|
|
2014-11-09 18:52:52 +00:00
|
|
|
# Update packages and install software
|
2015-05-09 19:49:07 +00:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get -y install software-properties-common \
|
2016-02-25 03:23:51 +00:00
|
|
|
&& add-apt-repository ppa:qbittorrent-team/qbittorrent-stable \
|
2015-05-09 19:49:07 +00:00
|
|
|
&& apt-get update \
|
2018-02-02 07:54:32 +00:00
|
|
|
&& apt-get install -y qbittorrent-nox openvpn curl \
|
2015-05-09 19:49:07 +00:00
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
2018-02-02 07:54:32 +00:00
|
|
|
# && curl -L https://github.com/jwilder/dockerize/releases/download/v0.0.2/dockerize-linux-amd64-v0.0.2.tar.gz | tar -C /usr/local/bin -xzv
|
2014-11-16 13:19:56 +00:00
|
|
|
|
2014-11-09 18:52:52 +00:00
|
|
|
# Add configuration and scripts
|
2015-08-07 21:07:55 +00:00
|
|
|
ADD openvpn/ /etc/openvpn/
|
2016-02-25 03:23:51 +00:00
|
|
|
ADD qBittorrent/ /etc/qBittorrent/
|
2014-11-09 15:23:18 +00:00
|
|
|
|
2015-08-07 21:07:55 +00:00
|
|
|
ENV OPENVPN_USERNAME=**None** \
|
|
|
|
OPENVPN_PASSWORD=**None** \
|
2016-02-25 03:23:51 +00:00
|
|
|
OPENVPN_PROVIDER=**None**
|
2015-05-09 19:49:07 +00:00
|
|
|
|
2015-05-25 11:18:53 +00:00
|
|
|
# Expose port and run
|
2018-02-02 07:54:32 +00:00
|
|
|
EXPOSE 8080
|
2015-05-07 19:34:34 +00:00
|
|
|
CMD ["/etc/openvpn/start.sh"]
|
2018-02-02 08:05:31 +00:00
|
|
|
CMD ["/usr/bin/qbittorrent-nox -d"]
|