diff --git a/Dockerfile b/Dockerfile index 1c8fcba..c18fa1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,8 @@ +FROM golang:1.22.0 as NES20Tool + +RUN git clone https://github.com/Kreeblah/NES20Tool.git && \ + cd NES20Tool && go build + FROM linuxserver/ffmpeg:6.1.1-cli-ls124 RUN apt-get update && \ @@ -11,6 +16,7 @@ RUN apt-get update && \ 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"]