Michel Roux
de760030ca
All checks were successful
continuous-integration/drone/push Build is passing
22 lines
866 B
Docker
22 lines
866 B
Docker
FROM debian:11.2-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 p7zip* git rsync lftp speedtest-cli rename megatools wget curl procps \
|
|
openssh-client transmission-cli python3-requests youtube-dl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
RUN curl -sSL https://raw.githubusercontent.com/tremc/tremc/master/tremc -o /usr/local/bin/tremc && \
|
|
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 && \
|
|
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"]
|