Closed avelino closed 8 years ago
I got the server running on docker:
FROM debian
MAINTAINER Thiago Avelino <thiago@avelino.xxx>
USER root
RUN apt-get update && apt-get install aptitude -y
RUN aptitude update \
&& aptitude install -y locales jpegoptim optipng git cmake build-essential \
liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev \
libpugixml-dev \
&& rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
# RUN git clone https://github.com/otland/forgottenserver.git /home/tibia
ADD forgottenserver /home/tibia
RUN mkdir /home/tibia/build
WORKDIR /home/tibia/build
RUN cmake ..
RUN make -j 7
# RUN cp -rf ../data .
RUN ln -s /data data
ADD config.lua /home/tibia/build
EXPOSE 7171
EXPOSE 7172
CMD ["/home/tibia/build/tfs"]
@avelino ? This is currently working for Opentibia, with a few changes you can make it work for other distros