From 6360cd0d943c01e47636ad63739ab1db1b1a6207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarom=C3=ADr=20Smr=C4=8Dek?= <4plague@gmail.com> Date: Wed, 2 Aug 2023 14:48:37 +0200 Subject: [PATCH] Fixed git ersion extraction in Docker --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 23c747b57..c7e9103a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -86,6 +86,8 @@ COPY test/ test/ COPY hack/* hack/ COPY proto/ proto/ COPY tools/ tools/ +# Needed for version extraction by meson +COPY .git/ .git/ RUN CC=clang CXX=clang++ meson build && cd ./build && ninja RUN rm -rf build && meson build --buildtype=release && cd ./build && ninja