update Dockerfile (EnTT installation)

This commit is contained in:
MihailRis 2024-06-14 03:41:39 +03:00
parent 336055634a
commit 6362018d78

View File

@ -25,6 +25,13 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/skypjack/entt.git && \
cd entt/build && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \
make install && \
cd .. && rm -rf entt
# CMake missing LUA_INCLUDE_DIR and LUA_LIBRARIES fix:
RUN ln -s /usr/lib/x86_64-linux-gnu/libluajit-5.1.a /usr/lib/x86_64-linux-gnu/liblua5.1.a \
&& ln -s /usr/include/luajit-2.1 /usr/include/lua