mirror of
https://github.com/minetest/minetest.git
synced 2024-08-20 05:24:15 +02:00
Dockerfile: Use the default branch when cloning libspatialindex repository (#14621)
This commit is contained in:
parent
e0e1d0855d
commit
07fe8d4481
@ -1,7 +1,6 @@
|
|||||||
ARG DOCKER_IMAGE=alpine:3.19
|
ARG DOCKER_IMAGE=alpine:3.19
|
||||||
FROM $DOCKER_IMAGE AS dev
|
FROM $DOCKER_IMAGE AS dev
|
||||||
|
|
||||||
ENV SPATIALINDEX_VERSION master
|
|
||||||
ENV LUAJIT_VERSION v2.1
|
ENV LUAJIT_VERSION v2.1
|
||||||
|
|
||||||
RUN apk add --no-cache git build-base cmake curl-dev zlib-dev zstd-dev \
|
RUN apk add --no-cache git build-base cmake curl-dev zlib-dev zstd-dev \
|
||||||
@ -19,7 +18,7 @@ RUN git clone --recursive https://github.com/jupp0r/prometheus-cpp && \
|
|||||||
cmake --build build && \
|
cmake --build build && \
|
||||||
cmake --install build && \
|
cmake --install build && \
|
||||||
cd /usr/src/ && \
|
cd /usr/src/ && \
|
||||||
git clone --recursive https://github.com/libspatialindex/libspatialindex -b ${SPATIALINDEX_VERSION} && \
|
git clone --recursive https://github.com/libspatialindex/libspatialindex && \
|
||||||
cd libspatialindex && \
|
cd libspatialindex && \
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr/local && \
|
-DCMAKE_INSTALL_PREFIX=/usr/local && \
|
||||||
|
Loading…
Reference in New Issue
Block a user