"Fossies" - the Fresh Open Source Software Archive

Member "mumble-1.3.2/Dockerfile" (9 Jul 2020, 1334 Bytes) of package /linux/misc/mumble-1.3.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 FROM ubuntu:disco
    2 
    3 # needed to install tzdata in disco
    4 ENV DEBIAN_FRONTEND=noninteractive
    5 
    6 RUN apt-get update && apt-get install -y \
    7 	build-essential \
    8 	pkg-config \
    9 	qt5-default \
   10 	libboost-dev \
   11 	libasound2-dev \
   12 	libssl-dev \
   13 	libspeechd-dev \
   14 	libzeroc-ice-dev \
   15 	libpulse-dev \
   16 	libcap-dev \
   17 	libprotobuf-dev \
   18 	protobuf-compiler \
   19 	protobuf-compiler-grpc \
   20 	libprotoc-dev \
   21 	libogg-dev \
   22 	libavahi-compat-libdnssd-dev \
   23 	libsndfile1-dev \
   24 	libgrpc++-dev \
   25 	libxi-dev \
   26 	libbz2-dev \
   27 	qtcreator
   28 
   29 COPY . /root/mumble
   30 WORKDIR /root/mumble
   31 
   32 RUN qmake -recursive main.pro CONFIG+="no-client grpc"
   33 RUN make release
   34 
   35 # Clean distribution stage
   36 FROM ubuntu:disco
   37 
   38 RUN adduser murmur
   39 RUN apt-get update && apt-get install -y \
   40 	libcap2 \
   41 	libzeroc-ice3.7 \
   42 	libprotobuf17 \
   43 	libgrpc6 \
   44 	libgrpc++1 \
   45 	libavahi-compat-libdnssd1 \
   46 	libqt5core5a \
   47 	libqt5network5 \
   48 	libqt5sql5 \
   49 	libqt5xml5 \
   50 	libqt5dbus5 \
   51 	&& rm -rf /var/lib/apt/lists/*
   52 
   53 COPY --from=0 /root/mumble/release/murmurd /usr/bin/murmurd
   54 COPY --from=0 /root/mumble/scripts/murmur.ini /etc/murmur/murmur.ini
   55 
   56 RUN mkdir /var/lib/murmur && \
   57 	chown murmur:murmur /var/lib/murmur && \
   58 	sed -i 's/^database=$/database=\/var\/lib\/murmur\/murmur.sqlite/' /etc/murmur/murmur.ini
   59 
   60 EXPOSE 64738/tcp 64738/udp 50051
   61 USER murmur
   62 
   63 CMD /usr/bin/murmurd -v -fg -ini /etc/murmur/murmur.ini