19 lines
571 B
Docker
19 lines
571 B
Docker
FROM debian:bullseye-slim
|
|
|
|
RUN groupadd --gid 1000 debian-transmission
|
|
RUN useradd --uid 1000 --gid 1000 -d /var/lib/transmission-daemon debian-transmission
|
|
|
|
RUN mkdir /home/torrent/
|
|
RUN chown debian-transmission.debian-transmission /home/torrent
|
|
|
|
RUN apt update && apt upgrade -y
|
|
RUN apt install -y openvpn transmission-daemon
|
|
RUN apt install -y curl wget iputils-ping bind9-dnsutils net-tools whois vim
|
|
|
|
COPY certs/ /etc/openvpn/expressvpn/
|
|
COPY login.conf /root/login.conf
|
|
RUN chmod 600 /root/login.conf
|
|
|
|
COPY entrypoint.sh /
|
|
ENTRYPOINT ["/bin/bash","/entrypoint.sh"]
|