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

View File

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

View File

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