dl/Dockerfile

24 lines
940 B
Docker
Raw Normal View History

FROM golang:1.22.2 as NES20Tool
2024-02-23 11:30:41 +00:00
RUN git clone https://github.com/Kreeblah/NES20Tool.git && \
cd NES20Tool && go build
2024-05-06 19:04:46 +00:00
FROM linuxserver/ffmpeg:6.1-cli-ls121
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-02-22 22:22:11 +00:00
vim p7zip* git mc rename wget curl procps psmisc \
2024-04-15 10:36:55 +00:00
openssh-client transmission-cli speedtest-cli \
2024-02-22 22:26:36 +00:00
python3-requests python3-transmissionrpc && \
2024-02-22 22:22:11 +00:00
apt-get install -y --no-install-recommends mame-tools yt-dlp && \
2023-04-20 22:09:06 +00:00
rm -rf /var/lib/apt/lists/* && \
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-02-23 11:30:41 +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"]