docker-qBittorrentvpn/Dockerfile

29 lines
766 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-02 07:54:32 +00:00
&& apt-get install -y qbittorrent-nox openvpn curl \
&& 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
# Add configuration and scripts
ADD openvpn/ /etc/openvpn/
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
2018-02-02 07:54:32 +00:00
EXPOSE 8080
CMD ["/etc/openvpn/start.sh"]
2018-02-02 08:05:31 +00:00
CMD ["/usr/bin/qbittorrent-nox -d"]