Dockerfile.build 458 B

123456789101112
  1. FROM snppla/trinity_base
  2. ADD . /data/TrinityCore
  3. WORKDIR /data/TrinityCore/build
  4. RUN cmake ../ -DCMAKE_INSTALL_PREFIX=/data/TrinityCore.install -DTOOLS=1 \
  5. && nice -n 20 make -j $(nproc) install && make clean
  6. RUN apt-get update && apt-get install -y openssl mysql-client libboost-system1.55.0 libboost-filesystem1.55.0 libboost-thread1.55.0 libboost-program-options1.55.0 libboost-iostreams1.55.0 libmysqlclient18
  7. WORKDIR /data/TrinityCore.install/bin