docker-qBittorrentvpn/Dockerfile

31 lines
850 B
Docker
Raw Normal View History

# Transmission and OpenVPN
#
# Version 1.5
FROM ubuntu:14.04
MAINTAINER Kristian Haugene
VOLUME /data
VOLUME /config
# Update packages and install software
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 \
&& apt-get update \
2016-02-25 03:23:51 +00:00
&& apt-get install -y qbittorrent openvpn curl \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& 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
# Add configuration and scripts
ADD openvpn/ /etc/openvpn/
2016-02-25 03:23:51 +00:00
ADD qBittorrent/ /etc/qBittorrent/
ENV OPENVPN_USERNAME=**None** \
OPENVPN_PASSWORD=**None** \
2016-02-25 03:23:51 +00:00
OPENVPN_PROVIDER=**None**
2015-05-25 11:18:53 +00:00
# Expose port and run
EXPOSE 9091
CMD ["/etc/openvpn/start.sh"]