Ephasme
Joined: 24 Aug 2010 Posts: 7
|
Posted: Wed Aug 31, 2016 12:17 Post subject: How to launch nwserver on Xenial for Dockerizing NWNX |
|
|
I'm trying to build a Dockerfile to launch very easily any nwnx/nwserver server anywhere but I'm struggling with this x64 incompatibility things.
Basically I succeeded in building launching the Docker, starting nwserver but it keep telling me "Unable to load module". For test purposes I try with the "Contest of Champion" module.
Do you think I should launch the nwserver through nwnx directly?
Do you think I have to chroot in order to launch nwserver and nwnx?
I'm lost. Please help me
PS Here is my current Dockerfile.
Code: |
FROM ubuntu:xenial
COPY ./nwn-server /opt/nwn-server
COPY ./FF_1_69.mod /opt/nwn-server/modules
WORKDIR /opt/nwn-server
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y lib32ncurses5 lib32z1 lib32gcc1
RUN chmod o+x fixinstall nwserver
CMD ["./nwserver -module ContestOfChampions.mod -quiet"]
|
|
|