dl/Dockerfile

20 lines
748 B
Docker
Raw Normal View History

2021-05-13 15:26:05 +00:00
FROM debian:10.9-slim
ENV DEBIAN_FRONTEND noninteractive
ENV PUID 1000
ENV PGID 1000
ENV LANG C.UTF-8
RUN apt-get update && \
apt-get install -y vim ffmpeg p7zip* git rsync lftp speedtest-cli rename megatools wget curl procps \
openssh-client transmission-cli python3-pip python3-requests && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install youtube_dl && \
curl -sSL https://raw.githubusercontent.com/tremc/tremc/master/tremc -o /usr/local/bin/tremc && \
groupadd -g $PGID xefir && adduser --uid $PUID --gid $PGID --disabled-password --gecos "" xefir && \
update-alternatives --set editor /usr/bin/vim.basic
COPY ./commands/* /usr/local/bin/
RUN chmod +x /usr/local/bin/*
CMD ["tail", "-F", "/dev/null"]