Remove sudo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Michel Roux 2022-11-02 09:31:35 +00:00
parent 6d01bf82e7
commit 65abf1befd
1 changed files with 2 additions and 3 deletions

View File

@ -2,15 +2,14 @@ FROM linuxserver/ffmpeg:4.4-cli-ls65
RUN apt-get update && \
apt-get install -y \
vim p7zip* git rsync lftp speedtest-cli rename megatools wget curl procps psmisc sudo \
vim p7zip* git rsync lftp speedtest-cli rename megatools wget curl procps psmisc \
openssh-client transmission-cli python3-requests python3-pip && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install yt-dlp && \
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 && \
update-alternatives --set editor /usr/bin/vim.basic && \
adduser abc sudo
update-alternatives --set editor /usr/bin/vim.basic
COPY ./commands/* /usr/local/bin/
RUN chmod +x /usr/local/bin/*