From c41e82becd877d03f0ef96aff397d6f23506469b Mon Sep 17 00:00:00 2001 From: L_DelOff Date: Fri, 15 Sep 2023 19:36:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8F=20chat=20g?= =?UTF-8?q?pt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile.multistage | 59 ++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 31 deletions(-) diff --git a/Dockerfile.multistage b/Dockerfile.multistage index a3aa86e..8b39fd3 100644 --- a/Dockerfile.multistage +++ b/Dockerfile.multistage @@ -1,36 +1,33 @@ -FROM ubuntu:latest as build_stage -RUN apt-get update -RUN sudo apt install -y \ - git \ - build-essential \ - 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 \ - libogg-dev \ - libsndfile1-dev \ - libopus-dev \ - libspeechd-dev \ - libavahi-compat-libdnssd-dev \ - libxcb-xinerama0 \ - libzeroc-ice-dev \ - libpoco-dev +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-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 . \ No newline at end of file