Просмотр исходного кода

Fix Docker build

prometheus-cpp switched to C++14 in April (after we did) so this issue only affects older branches.
sfan5 2 лет назад
Родитель
Сommit
9b03bd3243
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Dockerfile

+ 1 - 1
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 .. \