Commit 0a1b9253 authored by nanahira's avatar nanahira

improve

parent 16bb8ccc
...@@ -9,8 +9,8 @@ RUN npm install -g pm2 ...@@ -9,8 +9,8 @@ RUN npm install -g pm2
# libevent # libevent
WORKDIR / WORKDIR /
RUN wget 'https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz' -O libevent-2.0.22-stable.tar.gz --no-check-certificate && \ ADD https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz .
tar xf libevent-2.0.22-stable.tar.gz && \ RUN tar xf libevent-2.0.22-stable.tar.gz && \
cd libevent-2.0.22-stable/ && \ cd libevent-2.0.22-stable/ && \
./configure && \ ./configure && \
make && \ make && \
...@@ -28,8 +28,8 @@ RUN npm ci && \ ...@@ -28,8 +28,8 @@ RUN npm ci && \
# ygopro # ygopro
RUN git clone --branch=server --recursive https://github.com/moecube/ygopro /ygopro-server/ygopro RUN git clone --branch=server --recursive https://github.com/moecube/ygopro /ygopro-server/ygopro
WORKDIR /ygopro-server/ygopro WORKDIR /ygopro-server/ygopro
ADD https://github.com/premake/premake-core/releases/download/v5.0.0-alpha12/premake-5.0.0-alpha12-linux.tar.gz .
RUN git submodule foreach git checkout master && \ RUN git submodule foreach git checkout master && \
wget -O - https://github.com/premake/premake-core/releases/download/v5.0.0-alpha12/premake-5.0.0-alpha12-linux.tar.gz | tar zfx - && \
./premake5 gmake && \ ./premake5 gmake && \
cd build && \ cd build && \
make config=release && \ make config=release && \
......
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