34 lines
809 B
Docker
Raw Normal View History

# Transmission and OpenVPN
#
# Version 1.5
2018-02-02 02:54:32 -05:00
FROM ubuntu:16.04
MAINTAINER MarkusMcNugen
2018-02-02 03:56:16 -05:00
VOLUME /downloads
VOLUME /config
2018-02-03 01:39:13 -05:00
ENV DEBIAN_FRONTEND noninteractive
# Update packages and install software
RUN apt-get update \
&& apt-get -y install software-properties-common \
2018-02-03 01:32:39 -05:00
&& apt-get install -y qbittorrent-nox openvpn curl moreutils net-tools \
2018-02-03 00:33:35 -05:00
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Add configuration and scripts
ADD openvpn/ /etc/openvpn/
ADD qbittorrent/ /etc/qbittorrent/
2018-02-03 00:45:48 -05:00
RUN chmod +x /etc/qbittorrent/start.sh /etc/qbittorrent/iptables.sh /etc/openvpn/start.sh
2018-02-03 00:26:50 -05:00
ENV OPENVPN_USERNAME=**None** \
OPENVPN_PASSWORD=**None** \
2016-02-24 22:23:51 -05:00
OPENVPN_PROVIDER=**None**
2018-02-02 21:55:43 -05:00
# Expose ports and run
2018-02-02 02:54:32 -05:00
EXPOSE 8080
2018-02-02 21:55:43 -05:00
EXPOSE 8999
EXPOSE 8999/udp
2018-02-03 00:37:37 -05:00
CMD ["/bin/bash", "/etc/openvpn/start.sh"]