Skip to content

Commit

Permalink
Fixed checkout order for minetest_game.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronoaldo committed Sep 10, 2021
1 parent 9b7aa7d commit bde490a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ RUN mkdir -p /usr/src &&\
git clone --depth=1 -b ${MINETEST_VERSION} \
https://github.com/ronoaldo/minetest.git /usr/src/minetest &&\
rm -rf /usr/src/minetest/.git
RUN git clone --depth=1 -b ${MINETEST_VERSION} \
https://github.com/ronoaldo/minetest_game.git \
/usr/src/minetest/games/minetest_game &&\
rm -rf /usr/src/minetest/games/minetest_game/.git

# Build server
WORKDIR /tmp/build
Expand All @@ -35,12 +39,6 @@ RUN cmake /usr/src/minetest \
make -j$(nproc) &&\
make install

# Install MTG
RUN git clone --depth=1 -b ${MINETEST_VERSION} \
https://github.com/ronoaldo/minetest_game.git \
/usr/src/minetest/games/minetest_game &&\
rm -rf /usr/src/minetest/games/minetest_game/.git

# Install Contentdb CLI
RUN curl -SsL --fail \
https://github.com/ronoaldo/minetools/releases/download/${MINETOOLS_VERSION}/contentdb-linux-amd64.zip > /tmp/minetools.zip &&\
Expand Down

0 comments on commit bde490a

Please sign in to comment.