update formatting

This commit is contained in:
aptalca 2022-01-19 14:31:09 -05:00
parent 6314a7bab0
commit 599bfba93d
5 changed files with 326 additions and 335 deletions

View File

@ -49,6 +49,7 @@ RUN \
curl \
gmp \
hiredis \
leveldb \
libgcc \
libintl \
libstdc++ \
@ -56,9 +57,6 @@ RUN \
lua-socket \
sqlite \
sqlite-libs && \
apk add --no-cache \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community \
leveldb && \
echo "**** compile spatialindex ****" && \
git clone https://github.com/libspatialindex/libspatialindex /tmp/spatialindex && \
cd /tmp/spatialindex && \
@ -105,9 +103,8 @@ RUN \
cp -pr /usr/share/minetest/games/* /defaults/games/ && \
echo "**** split after 3rd dot if it exists in minetest tag variable ****" && \
echo "**** so we fetch game version x.x.x etc ****" && \
if \
[ $(echo "$MINETEST_RELEASE" | tr -cd '.' | wc -c) = 3 ] ; \
then MINETEST_RELEASE=${MINETEST_RELEASE%.*}; \
if [ $(echo "$MINETEST_RELEASE" | tr -cd '.' | wc -c) = 3 ]; then \
MINETEST_RELEASE=${MINETEST_RELEASE%.*}; \
fi && \
echo "**** fetch additional game ****" && \
mkdir -p \

View File

@ -49,6 +49,7 @@ RUN \
curl \
gmp \
hiredis \
leveldb \
libgcc \
libintl \
libstdc++ \
@ -56,9 +57,6 @@ RUN \
lua-socket \
sqlite \
sqlite-libs && \
apk add --no-cache \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community \
leveldb && \
echo "**** compile spatialindex ****" && \
git clone https://github.com/libspatialindex/libspatialindex /tmp/spatialindex && \
cd /tmp/spatialindex && \
@ -105,9 +103,8 @@ RUN \
cp -pr /usr/share/minetest/games/* /defaults/games/ && \
echo "**** split after 3rd dot if it exists in minetest tag variable ****" && \
echo "**** so we fetch game version x.x.x etc ****" && \
if \
[ $(echo "$MINETEST_RELEASE" | tr -cd '.' | wc -c) = 3 ] ; \
then MINETEST_RELEASE=${MINETEST_RELEASE%.*}; \
if [ $(echo "$MINETEST_RELEASE" | tr -cd '.' | wc -c) = 3 ]; then \
MINETEST_RELEASE=${MINETEST_RELEASE%.*}; \
fi && \
echo "**** fetch additional game ****" && \
mkdir -p \

View File

@ -49,6 +49,7 @@ RUN \
curl \
gmp \
hiredis \
leveldb \
libgcc \
libintl \
libstdc++ \
@ -56,9 +57,6 @@ RUN \
lua-socket \
sqlite \
sqlite-libs && \
apk add --no-cache \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community \
leveldb && \
echo "**** compile spatialindex ****" && \
git clone https://github.com/libspatialindex/libspatialindex /tmp/spatialindex && \
cd /tmp/spatialindex && \
@ -105,9 +103,8 @@ RUN \
cp -pr /usr/share/minetest/games/* /defaults/games/ && \
echo "**** split after 3rd dot if it exists in minetest tag variable ****" && \
echo "**** so we fetch game version x.x.x etc ****" && \
if \
[ $(echo "$MINETEST_RELEASE" | tr -cd '.' | wc -c) = 3 ] ; \
then MINETEST_RELEASE=${MINETEST_RELEASE%.*}; \
if [ $(echo "$MINETEST_RELEASE" | tr -cd '.' | wc -c) = 3 ]; then \
MINETEST_RELEASE=${MINETEST_RELEASE%.*}; \
fi && \
echo "**** fetch additional game ****" && \
mkdir -p \