FROM alpine:latest as build_stage RUN apk update && apk add --no-cache \ git \ build-base \ cmake \ pkgconf \ qt5-qtbase-dev \ qt5-qtsvg-dev \ boost-dev \ openssl-dev \ protobuf-dev \ protobuf \ cap-dev \ libx11-dev \ alsa-lib-dev \ libogg-dev \ libsndfile-dev \ opus-dev \ speech-dispatcher-dev \ avahi-dev \ libxcb-xinerama \ ice-dev \ poco-dev WORKDIR /opt RUN git clone -b 1.5.x https://github.com/mumble-voip/mumble.git WORKDIR /opt/mumble RUN git submodule update --init --recursive WORKDIR /opt/mumble/build RUN cmake -Dclient=OFF -Doverlay-xcompile=OFF .. RUN cmake --build .