One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 Re: Main Forum » Setting up your personal Linux test editor/server/client » 2019-10-08 20:06:46

Another way to run server with Docker

FROM ubuntu
RUN apt-get update && apt-get install -y \
  git \
  g++ \ 
  imagemagick \
  xclip \
  libsdl1.2-dev \
  libglu1-mesa-dev \
  libgl1-mesa-dev \
  wget
WORKDIR /opt
RUN wget "https://raw.githubusercontent.com/jasonrohrer/OneLife/master/scripts/pullAndBuildTestSystem.sh"
RUN sh ./pullAndBuildTestSystem.sh

EXPOSE 8005
WORKDIR /opt/OneLife/server
CMD ["./OneLifeServer"]

# docker built -t ohol .
# docker run -t --name ohol -p 8005:8005 ohol
# docker exec ohol bash -c "echo 10.0 > /opt/OneLife/server/settings/minFoodDecrementSeconds.ini"

Board footer

Powered by FluxBB