tibia-client/Dockerfile

32 lines
704 B
Docker
Raw Permalink Normal View History

2018-03-21 05:54:10 +01:00
from ubuntu:latest
WORKDIR /app
RUN apt-get update; apt-get install -y \
build-essential \
cmake \
git-core \
libboost-all-dev \
libglew-dev \
liblua5.1-0-dev \
libopenal-dev \
libphysfs-dev \
2019-02-02 12:29:33 +01:00
libssl1.0-dev \
2018-03-21 05:54:10 +01:00
libvorbis-dev \
zlib1g-dev
RUN apt-get install -y \
libncurses5-dev \
mercurial; \
hg clone -r stable-2.0 http://hg.icculus.org/icculus/physfs/; \
cd physfs; \
mkdir build && cd build && cmake .. && make && make install; \
mv /usr/local/lib/libphysfs.a /usr/lib/x86_64-linux-gnu/.
ADD . /app
# Build application
2019-02-02 12:29:33 +01:00
RUN mkdir -p build && cd build && cmake -DUSE_STATIC_LIBS=OFF .. && make -j$(grep -c ^process /proc/cpuinfo);
2018-03-21 05:54:10 +01:00
CMD cd build; ./otclient