mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
MAINT(Dockerfile): Prevent Docker build from failing due to git submodules not updated.
This commit is contained in:
parent
4e75b8efb9
commit
30b00cd41d
@ -4,6 +4,8 @@ FROM ubuntu:latest
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
ca-certificates \
|
||||
git \
|
||||
build-essential \
|
||||
cmake \
|
||||
pkg-config \
|
||||
@ -30,6 +32,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
COPY . /root/mumble
|
||||
WORKDIR /root/mumble/build
|
||||
|
||||
RUN git submodule update --init
|
||||
RUN cmake -Dclient=OFF -DCMAKE_BUILD_TYPE=Release -Dgrpc=ON ..
|
||||
RUN make -j $(nproc)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user