Commit 4e317c93 authored by nanahira's avatar nanahira

Merge branch 'master' into ai-play

parents 00fc9180 74ca8db3
Pipeline #11747 failed with stages
in 1 minute and 23 seconds
...@@ -5,7 +5,7 @@ LABEL Author="Nanahira <nanahira@momobako.com>" ...@@ -5,7 +5,7 @@ LABEL Author="Nanahira <nanahira@momobako.com>"
RUN apt update && \ RUN apt update && \
apt -y install mono-complete && \ apt -y install mono-complete && \
npm install -g pm2 && \ npm install -g pm2 && \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/log/*
# windbot # windbot
RUN git clone --depth=1 https://code.mycard.moe/nanahira/windbot /tmp/windbot && \ RUN git clone --depth=1 https://code.mycard.moe/nanahira/windbot /tmp/windbot && \
......
...@@ -3,12 +3,12 @@ FROM debian:bullseye as premake-builder ...@@ -3,12 +3,12 @@ FROM debian:bullseye as premake-builder
RUN apt update && \ RUN apt update && \
env DEBIAN_FRONTEND=noninteractive apt install -y wget build-essential p7zip-full && \ env DEBIAN_FRONTEND=noninteractive apt install -y wget build-essential p7zip-full && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 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/nanahira/ygopro && \ RUN git clone --branch=server --recursive --depth=1 https://code.mycard.moe/nanahira/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