mutgos / mutgos_server

MUTGOS, a modern MUD MUCK MUSH MOO MU* text game engine
MIT License
4 stars 2 forks source link

Docker #25

Closed hyena closed 5 years ago

hyena commented 5 years ago

Creates a Dockerfile for mutgos. Hopefully this will make it easier to build, deploy, and manage dependencies.

To test:

  1. Install docker (probably sudo apt install docker.io on Ubuntu)
  2. Add your username to the docker group
  3. Either completely log out or su $USERNAME (required for the group change to be picked up)
  4. Follow the instructions in the readme for building/running:
    docker build -t mutgos .
    docker run -it -p 7072:7072 --name mutgos mutgos
  5. Test by telneting to localhost on port 7072

This will take a while since it's basically a full rebuild, but it's worked for me. Some notes and caveats:

zelerin commented 5 years ago

While I have not tested this, I will take your word that it works... or at the very least is a good start into integrating with Docker. Thanks for doing this! I suspect it will make things easier for people wishing to get started and that don't want to accidentally mess up their system with newer system libraries.

I will add an issue that states we don't want to keep pulling our dependencies from web site sources; this is because some (like AngelScript) are not big sites and so we don't want to cut into bandwidth limits. I don't have a solution yet, but will welcome suggestions.