dl/Dockerfile

24 lines
949 B
Docker
Raw Permalink Normal View History

FROM golang:1.22.1 as NES20Tool
2024-02-23 11:30:41 +00:00
RUN git clone https://github.com/Kreeblah/NES20Tool.git && \
cd NES20Tool && go build
2024-03-22 08:20:26 +00:00
FROM linuxserver/ffmpeg:6.1.1-cli-ls128
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 \
openssh-client transmission-cli speedtest-cli rclone \
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"]