Simplify install of drone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2023-01-06 01:16:47 +01:00
parent 785b0a4a8b
commit f6c814ca53

View File

@ -8,8 +8,7 @@ RUN apt-get update && \
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 xzC /usr/local/bin && \
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
COPY ./commands/* /usr/local/bin/ COPY ./commands/* /usr/local/bin/