Remove sudo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-11-02 09:31:35 +00:00
parent 6d01bf82e7
commit 65abf1befd

View File

@ -2,15 +2,14 @@ FROM linuxserver/ffmpeg:4.4-cli-ls65
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y \ 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 && \ openssh-client transmission-cli python3-requests python3-pip && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN pip3 install yt-dlp && \ RUN pip3 install yt-dlp && \
curl -sSL https://raw.githubusercontent.com/tremc/tremc/master/tremc -o /usr/local/bin/tremc && \ 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 && \ 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 && \ install -vt /usr/local/bin drone && rm -vf drone && \
update-alternatives --set editor /usr/bin/vim.basic && \ update-alternatives --set editor /usr/bin/vim.basic
adduser abc sudo
COPY ./commands/* /usr/local/bin/ COPY ./commands/* /usr/local/bin/
RUN chmod +x /usr/local/bin/* RUN chmod +x /usr/local/bin/*