dockerfiles/jamulus/Dockerfile

27 lines
597 B
Text
Raw Normal View History

2022-08-25 13:31:24 +02:00
ARG JAMULUS_VERSION=r3_9_0
2020-11-28 21:11:26 +01:00
FROM debian:buster-backports AS build-stage
ARG JAMULUS_VERSION
RUN apt-get update \
&& apt-get install -y \
build-essential \
qt5-qmake \
qt5-default \
2022-08-25 13:31:24 +02:00
libjack-jackd2-dev \
2020-11-28 21:11:26 +01:00
qttools5-dev-tools \
wget
2022-08-25 13:31:24 +02:00
RUN wget https://github.com/jamulussoftware/jamulus/archive/$JAMULUS_VERSION.tar.gz
2020-11-28 21:11:26 +01:00
RUN tar xzf $JAMULUS_VERSION.tar.gz
RUN cd jamulus-$JAMULUS_VERSION \
2022-08-25 13:31:24 +02:00
&& qmake "CONFIG+=serveronly headless noupcasename" Jamulus.pro \
2020-11-28 21:11:26 +01:00
&& make
FROM scratch
ARG JAMULUS_VERSION
COPY --from=build-stage /jamulus-$JAMULUS_VERSION/jamulus .