35 lines
800 B
Docker
35 lines
800 B
Docker
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
|