docker-qBittorrentvpn/Dockerfile

35 lines
924 B
Docker
Raw Normal View History

2018-02-03 06:39:30 +00:00
# qBittorrent and OpenVPN
#
2018-02-06 06:35:55 +00:00
# Version 1.8
2024-12-05 21:52:35 +00:00
FROM ubuntu:24.10
MAINTAINER Brett
2018-02-02 08:56:16 +00:00
VOLUME /downloads
VOLUME /config
2018-02-03 06:39:13 +00:00
ENV DEBIAN_FRONTEND noninteractive
2018-02-04 03:56:02 +00:00
RUN usermod -u 99 nobody
# Update packages and install software
RUN apt-get update \
2018-04-16 09:55:59 +00:00
&& apt-get install -y --no-install-recommends apt-utils openssl \
2024-12-05 21:52:35 +00:00
&& apt-get install -y software-properties-common iproute2 \
2018-02-03 11:51:01 +00:00
&& add-apt-repository ppa:qbittorrent-team/qbittorrent-stable \
2018-02-03 11:49:55 +00:00
&& apt-get update \
&& apt-get install -y qbittorrent-nox openvpn curl moreutils net-tools dos2unix kmod iptables ipcalc unrar \
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-04 03:45:22 +00:00
RUN chmod +x /etc/qbittorrent/*.sh /etc/qbittorrent/*.init /etc/openvpn/*.sh
2018-02-03 05:26:50 +00:00
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"]