docker-qBittorrentvpn/Dockerfile

32 lines
773 B
Docker
Raw Normal View History

# Transmission and OpenVPN
#
# Version 1.5
2018-02-02 07:54:32 +00:00
FROM ubuntu:16.04
MAINTAINER MarkusMcNugen
2018-02-02 08:56:16 +00:00
VOLUME /downloads
VOLUME /config
# Update packages and install software
RUN apt-get update \
&& apt-get -y install software-properties-common \
2018-02-03 06:32:39 +00:00
&& apt-get install -y qbittorrent-nox openvpn curl moreutils net-tools \
2018-02-03 05:33:35 +00: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 05:45:48 +00:00
RUN chmod +x /etc/qbittorrent/start.sh /etc/qbittorrent/iptables.sh /etc/openvpn/start.sh
2018-02-03 05:26:50 +00:00
ENV OPENVPN_USERNAME=**None** \
OPENVPN_PASSWORD=**None** \
2016-02-25 03:23:51 +00:00
OPENVPN_PROVIDER=**None**
2018-02-03 02:55:43 +00:00
# Expose ports and run
2018-02-02 07:54:32 +00:00
EXPOSE 8080
2018-02-03 02:55:43 +00:00
EXPOSE 8999
EXPOSE 8999/udp
2018-02-03 05:37:37 +00:00
CMD ["/bin/bash", "/etc/openvpn/start.sh"]