dl/Dockerfile
Michel Roux 9a332b4dc0
All checks were successful
dl / lint (push) Successful in 1m28s
dl / docker (push) Successful in 1m26s
update golang
2024-10-17 15:47:47 +02:00

24 lines
940 B
Docker

FROM golang:1.23.2 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 rename wget curl procps psmisc \
openssh-client transmission-cli speedtest-cli \
python3-requests python3-transmissionrpc && \
apt-get install -y --no-install-recommends mame-tools yt-dlp && \
rm -rf /var/lib/apt/lists/* && \
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"]