версия chat gpt

main
L_DelOff 2023-09-15 19:36:50 +03:00
parent 8ff4a7a439
commit c41e82becd
1 changed files with 28 additions and 31 deletions

View File

@ -1,36 +1,33 @@
FROM ubuntu:latest as build_stage FROM alpine:latest as build_stage
RUN apt-get update
RUN sudo apt install -y \ RUN apk update && apk add --no-cache \
git \ git \
build-essential \ build-base \
cmake \ cmake \
pkg-config \ pkgconf \
qt5-default \ qt5-qtbase-dev \
qttools5-dev \ qt5-qtsvg-dev \
qttools5-dev-tools \ boost-dev \
libqt5svg5-dev \ openssl-dev \
libboost-dev \ protobuf-dev \
libssl-dev \ protobuf \
libprotobuf-dev \ cap-dev \
protobuf-compiler \ libx11-dev \
libprotoc-dev \ alsa-lib-dev \
libcap-dev \
libxi-dev \
libasound2-dev \
libogg-dev \ libogg-dev \
libsndfile1-dev \ libsndfile-dev \
libopus-dev \ opus-dev \
libspeechd-dev \ speech-dispatcher-dev \
libavahi-compat-libdnssd-dev \ avahi-compat-libdns_sd-dev \
libxcb-xinerama0 \ libxcb-xinerama \
libzeroc-ice-dev \ ice-dev \
libpoco-dev poco-dev
WORKDIR /opt WORKDIR /opt
RUN cd /opt
RUN git clone -b 1.5.x https://github.com/mumble-voip/mumble.git RUN git clone -b 1.5.x https://github.com/mumble-voip/mumble.git
RUN cd /opt/mumble WORKDIR /opt/mumble
RUN git submodule update --init --recursive RUN git submodule update --init --recursive
RUN mkdir build
RUN cd /opt/mumble/build WORKDIR /opt/mumble/build
RUN cmake -Dclient=OFF -Doverlay-xcompile=OFF .. RUN cmake -Dclient=OFF -Doverlay-xcompile=OFF ..
RUN cmake --build . RUN cmake --build .