diff --git a/builder/Dockerfile b/builder/Dockerfile new file mode 100644 index 0000000..54b45d7 --- /dev/null +++ b/builder/Dockerfile @@ -0,0 +1,34 @@ +FROM ubuntu:24.04 + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get update && apt-get install -y --no-install-recommends \ + build-essential \ + cmake \ + git \ + curl \ + wget \ + unzip \ + ca-certificates \ + libssl-dev \ + pkg-config \ + && rm -rf /var/lib/apt/lists/* + +# Install Nim via choosenim +RUN curl https://nim-lang.org/choosenim/init.sh -sSf | bash -s -- -y +ENV PATH="/root/.nimble/bin:${PATH}" +RUN choosenim 2.2.0 + +# Install neverwinter.nim tools (nwn_gff, nwn_script_comp, etc.) +RUN nimble install neverwinter@2.1.2 -y + +# Install nasher +RUN nimble install nasher -y + +# Install layonara_nwn (hak builder) +RUN nimble install https://github.com/plenarius/layonara_nwn -y + +# Verify tools +RUN nwn_gff --version && nasher --version && which nwn_script_comp + +WORKDIR /build