версия 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
RUN apt-get update
RUN sudo apt install -y \
FROM alpine:latest as build_stage
RUN apk update && apk add --no-cache \
git \
build-essential \
build-base \
cmake \
pkg-config \
qt5-default \
qttools5-dev \
qttools5-dev-tools \
libqt5svg5-dev \
libboost-dev \
libssl-dev \
libprotobuf-dev \
protobuf-compiler \
libprotoc-dev \
libcap-dev \
libxi-dev \
libasound2-dev \
pkgconf \
qt5-qtbase-dev \
qt5-qtsvg-dev \
boost-dev \
openssl-dev \
protobuf-dev \
protobuf \
cap-dev \
libx11-dev \
alsa-lib-dev \
libogg-dev \
libsndfile1-dev \
libopus-dev \
libspeechd-dev \
libavahi-compat-libdnssd-dev \
libxcb-xinerama0 \
libzeroc-ice-dev \
libpoco-dev
libsndfile-dev \
opus-dev \
speech-dispatcher-dev \
avahi-compat-libdns_sd-dev \
libxcb-xinerama \
ice-dev \
poco-dev
WORKDIR /opt
RUN cd /opt
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 mkdir build
RUN cd /opt/mumble/build
WORKDIR /opt/mumble/build
RUN cmake -Dclient=OFF -Doverlay-xcompile=OFF ..
RUN cmake --build .