From 9b03bd324361a65eb33f384f7a9d7696d314f194 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 14 May 2022 18:51:48 +0200 Subject: [PATCH] Fix Docker build prometheus-cpp switched to C++14 in April (after we did) so this issue only affects older branches. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8d1008fa2..93f6b982b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN apk add --no-cache git build-base cmake sqlite-dev curl-dev zlib-dev zstd-de rm -fr ./games/minetest_game/.git WORKDIR /usr/src/ -RUN git clone --recursive https://github.com/jupp0r/prometheus-cpp/ && \ +RUN git clone --recursive https://github.com/jupp0r/prometheus-cpp/ -b v1.0.0 && \ mkdir prometheus-cpp/build && \ cd prometheus-cpp/build && \ cmake .. \