Commit f0a17d89 authored by nanahira's avatar nanahira

lua deb on dockerfile

parent 1c3fbccb
Pipeline #11749 failed with stages
in 1 minute and 17 seconds
...@@ -6,9 +6,9 @@ RUN apt update && \ ...@@ -6,9 +6,9 @@ RUN apt update && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*
WORKDIR /usr/src WORKDIR /usr/src
RUN wget -O premake.zip https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-src.zip && \ RUN wget -O premake.zip https://github.com/premake/premake-core/releases/download/v5.0.0-beta1/premake-5.0.0-beta1-src.zip && \
7z x -y premake.zip && \ 7z x -y premake.zip && \
mv premake-5.0.0-alpha14 premake && \ mv premake-5.0.0-beta1 premake && \
cd premake/build/gmake.unix && \ cd premake/build/gmake.unix && \
make -j$(nproc) make -j$(nproc)
...@@ -31,7 +31,7 @@ COPY --from=premake-builder /usr/src/premake/bin/release/premake5 /usr/bin/prema ...@@ -31,7 +31,7 @@ COPY --from=premake-builder /usr/src/premake/bin/release/premake5 /usr/bin/prema
RUN git clone --branch=server --recursive --depth=1 https://code.mycard.moe/mycard/ygopro && \ RUN git clone --branch=server --recursive --depth=1 https://code.mycard.moe/mycard/ygopro && \
cd ygopro && \ cd ygopro && \
git submodule foreach git checkout master && \ git submodule foreach git checkout master && \
premake5 gmake && \ premake5 gmake --lua-deb && \
cd build && \ cd build && \
make config=release -j$(nproc) && \ make config=release -j$(nproc) && \
cd .. && \ cd .. && \
......
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