No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 704B

12345678910111213141516171819202122232425262728293031
  1. from ubuntu:latest
  2. WORKDIR /app
  3. RUN apt-get update; apt-get install -y \
  4. build-essential \
  5. cmake \
  6. git-core \
  7. libboost-all-dev \
  8. libglew-dev \
  9. liblua5.1-0-dev \
  10. libopenal-dev \
  11. libphysfs-dev \
  12. libssl1.0-dev \
  13. libvorbis-dev \
  14. zlib1g-dev
  15. RUN apt-get install -y \
  16. libncurses5-dev \
  17. mercurial; \
  18. hg clone -r stable-2.0 http://hg.icculus.org/icculus/physfs/; \
  19. cd physfs; \
  20. mkdir build && cd build && cmake .. && make && make install; \
  21. mv /usr/local/lib/libphysfs.a /usr/lib/x86_64-linux-gnu/.
  22. ADD . /app
  23. # Build application
  24. RUN mkdir -p build && cd build && cmake -DUSE_STATIC_LIBS=OFF .. && make -j$(grep -c ^process /proc/cpuinfo);
  25. CMD cd build; ./otclient