Commit 504cbc67 authored by 神楽坂玲奈's avatar 神楽坂玲奈

NLua, not tested

parent 5be21dde
FROM node FROM node
RUN apt-get update RUN apt-get update
RUN apt-get install -y git build-essential premake4 libfreetype6-dev libevent-dev libsqlite3-dev liblua5.2-dev mono-complete RUN apt-get install -y git build-essential premake4 libfreetype6-dev libevent-dev libsqlite3-dev liblua5.2-dev mono-complete cmake
RUN mkdir -p /usr/src/app RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
...@@ -21,10 +21,19 @@ WORKDIR /usr/src/app/ygosharp ...@@ -21,10 +21,19 @@ WORKDIR /usr/src/app/ygosharp
RUN xbuild /property:Configuration=Release /property:OutDir=/usr/src/app/windbot/ RUN xbuild /property:Configuration=Release /property:OutDir=/usr/src/app/windbot/
RUN mv /usr/src/app/windbot /usr/src/app/windbot-source RUN mv /usr/src/app/windbot /usr/src/app/windbot-source
RUN nuget restore -NonInteractive
WORKDIR /usr/src/app/windbot-source/NLua/Core/KeraLua
ENV CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS=-m64
RUN make -f Makefile.Linux
RUN xbuild KeraLua.Net45.sln /p:Configuration=Release
WORKDIR /usr/src/app/windbot-source/NLua
RUN xbuild NLua.Net45.sln /p:Configuration=Release
RUN mv /usr/src/app/windbot-source/NLua/Run/Release/net45/*.dll /usr/src/app/windbot-source/
WORKDIR /usr/src/app/windbot-source WORKDIR /usr/src/app/windbot-source
RUN xbuild /property:Configuration=Release /property:OutDir=/usr/src/app/windbot/ RUN xbuild /property:Configuration=Release /property:OutDir=/usr/src/app/windbot/
RUN mv /usr/src/app/windbot-source/NLua/Core/KeraLua/external/lua/linux/lib64/liblua52.so /usr/src/app/windbot/
WORKDIR /usr/src/app WORKDIR /usr/src/app
RUN rm -rf /usr/src/app/windbot-source #RUN rm -rf /usr/src/app/windbot-source
RUN ln -s /usr/src/app/ygopro/cards.cdb /usr/src/app/windbot/cards.cdb RUN ln -s /usr/src/app/ygopro/cards.cdb /usr/src/app/windbot/cards.cdb
WORKDIR /usr/src/app WORKDIR /usr/src/app
......
Subproject commit a4f4415f63f969b7c90d53912c54c036e4c667a1 Subproject commit 40c6736019630d5fad71b877464c9ba19b23be3d
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment