Skip to content

Commit

Permalink
Fixed git ersion extraction in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
PlagueCZ committed Aug 2, 2023
1 parent d63a588 commit 6360cd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6360cd0

Please sign in to comment.