dl/Dockerfile

25 lines
978 B
Docker
Raw Permalink Normal View History

2024-11-11 12:46:22 +00:00
FROM golang:1.23.3 AS nes20tool
RUN git clone https://github.com/Kreeblah/NES20Tool.git && \
cd NES20Tool && go build
2024-05-06 19:50:56 +00:00
FROM linuxserver/ffmpeg:6.0-cli-ls104
2021-05-13 15:26:05 +00:00
RUN apt-get update && \
2022-01-12 10:26:45 +00:00
apt-get install -y \
2024-11-12 11:48:59 +00:00
vim p7zip* git mc lftp rename wget curl procps psmisc \
openssh-client transmission-cli speedtest-cli \
2024-11-11 12:46:22 +00:00
python3-pip python3-requests python3-transmissionrpc && \
apt-get install -y --no-install-recommends mame-tools && \
2023-04-20 22:09:06 +00:00
rm -rf /var/lib/apt/lists/* && \
2024-11-11 12:46:22 +00:00
pip install yt-dlp && \
2023-02-09 23:55:03 +00:00
curl -sSL https://raw.githubusercontent.com/MatanZ/tremc/main/tremc -o /usr/local/bin/tremc && \
2024-02-22 22:22:11 +00:00
curl -sSL https://raw.githubusercontent.com/putnam/binmerge/master/binmerge -o /usr/local/bin/binmerge && \
2022-11-02 09:31:35 +00:00
update-alternatives --set editor /usr/bin/vim.basic
2021-05-13 15:26:05 +00:00
2024-11-11 12:46:22 +00:00
COPY --from=nes20tool /go/NES20Tool/NES20Tool /usr/local/bin/NES20Tool
2021-05-13 15:26:05 +00:00
COPY ./commands/* /usr/local/bin/
RUN chmod +x /usr/local/bin/*
2022-03-18 09:41:47 +00:00
ENTRYPOINT ["/init"]
2021-05-13 15:26:05 +00:00
CMD ["tail", "-F", "/dev/null"]