dl/Dockerfile

21 lines
891 B
Docker
Raw Normal View History

2021-12-21 08:18:41 +00:00
FROM debian:11.2-slim
2021-05-13 15:26:05 +00:00
ENV DEBIAN_FRONTEND noninteractive
ENV PUID 1000
ENV PGID 1000
ENV LANG C.UTF-8
RUN apt-get update && \
2021-08-25 07:11:49 +00:00
apt-get install -y vim p7zip* git rsync lftp speedtest-cli rename megatools wget curl procps \
openssh-client transmission-cli python3-pip python3-requests youtube-dl && \
2021-05-13 15:26:05 +00:00
rm -rf /var/lib/apt/lists/*
2021-08-25 07:11:49 +00:00
RUN curl -sSL https://raw.githubusercontent.com/tremc/tremc/master/tremc -o /usr/local/bin/tremc && \
2021-08-25 06:40:58 +00:00
curl -sSL https://github.com/drone/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz | tar xvz && \
install -vt /usr/local/bin drone && rm -vf drone && \
2021-05-13 15:26:05 +00:00
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"]