fix: ⬆️ update yt-dlp
Some checks failed
dl / lint (push) Successful in 1m14s
dl / docker (push) Has been cancelled

This commit is contained in:
Michel Roux 2024-11-11 13:46:22 +01:00
parent b4b1706cba
commit c4f81413dc

View File

@ -1,4 +1,4 @@
FROM golang:1.23.3 as NES20Tool FROM golang:1.23.3 AS nes20tool
RUN git clone https://github.com/Kreeblah/NES20Tool.git && \ RUN git clone https://github.com/Kreeblah/NES20Tool.git && \
cd NES20Tool && go build cd NES20Tool && go build
@ -9,14 +9,15 @@ RUN apt-get update && \
apt-get install -y \ apt-get install -y \
vim p7zip* git mc rename wget curl procps psmisc \ vim p7zip* git mc rename wget curl procps psmisc \
openssh-client transmission-cli speedtest-cli \ openssh-client transmission-cli speedtest-cli \
python3-requests python3-transmissionrpc && \ python3-pip python3-requests python3-transmissionrpc && \
apt-get install -y --no-install-recommends mame-tools yt-dlp && \ apt-get install -y --no-install-recommends mame-tools && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
pip install yt-dlp && \
curl -sSL https://raw.githubusercontent.com/MatanZ/tremc/main/tremc -o /usr/local/bin/tremc && \ curl -sSL https://raw.githubusercontent.com/MatanZ/tremc/main/tremc -o /usr/local/bin/tremc && \
curl -sSL https://raw.githubusercontent.com/putnam/binmerge/master/binmerge -o /usr/local/bin/binmerge && \ curl -sSL https://raw.githubusercontent.com/putnam/binmerge/master/binmerge -o /usr/local/bin/binmerge && \
update-alternatives --set editor /usr/bin/vim.basic update-alternatives --set editor /usr/bin/vim.basic
COPY --from=NES20Tool /go/NES20Tool/NES20Tool /usr/local/bin/NES20Tool COPY --from=nes20tool /go/NES20Tool/NES20Tool /usr/local/bin/NES20Tool
COPY ./commands/* /usr/local/bin/ COPY ./commands/* /usr/local/bin/
RUN chmod +x /usr/local/bin/* RUN chmod +x /usr/local/bin/*
ENTRYPOINT ["/init"] ENTRYPOINT ["/init"]