dl/Dockerfile
Michel Roux 6b208ed90a
All checks were successful
dl / lint (push) Successful in 1m30s
dl / docker (push) Successful in 5m51s
fix: ✏️ oups
2024-11-30 02:01:23 +01:00

25 lines
1.0 KiB
Docker

FROM golang:1.23.3 AS nes20tool
RUN git clone https://github.com/Kreeblah/NES20Tool.git && \
cd NES20Tool && go build
FROM linuxserver/ffmpeg:6.0-cli-ls104
RUN apt-get update && \
apt-get install -y \
vim p7zip* git mc lftp rename wget curl procps psmisc \
openssh-client transmission-cli speedtest-cli \
python3-pip python3-requests && \
apt-get install -y --no-install-recommends mame-tools && \
rm -rf /var/lib/apt/lists/* && \
pip install --extra-index-url https://git.crystalyx.net/api/packages/Xefir/pypi/simple/ transmissionrpc-cf yt-dlp && \
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 && \
update-alternatives --set editor /usr/bin/vim.basic
COPY --from=nes20tool /go/NES20Tool/NES20Tool /usr/local/bin/NES20Tool
COPY ./commands/* /usr/local/bin/
RUN chmod +x /usr/local/bin/*
ENTRYPOINT ["/init"]
CMD ["tail", "-F", "/dev/null"]