From 9cb11b07e5fb9714f8b0b37e413a3a44d421c64e Mon Sep 17 00:00:00 2001 From: plenarius Date: Mon, 20 Apr 2026 18:39:09 -0400 Subject: [PATCH] feat: add layonara-builder Docker image with nasher, Nim, and NWN tools --- builder/Dockerfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 builder/Dockerfile 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