summaryrefslogtreecommitdiffstats
path: root/jamulus/Dockerfile
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2020-11-28 21:11:26 +0100
committerlookshe <github@lookshe.org>2020-11-28 21:11:26 +0100
commit13a4c7acac01250db6ed8adab988fc402874aa55 (patch)
treec95548a8e4f5b627b2f06e846b68eff4ffc33c69 /jamulus/Dockerfile
parentb026ec3dd16c05c5edb0ab464a9be20d9385b008 (diff)
add jamulus for debian 7 and 10
Diffstat (limited to '')
-rw-r--r--jamulus/Dockerfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/jamulus/Dockerfile b/jamulus/Dockerfile
new file mode 100644
index 0000000..1acc9c5
--- /dev/null
+++ b/jamulus/Dockerfile
@@ -0,0 +1,26 @@
+ARG JAMULUS_VERSION=r3_6_1
+
+FROM debian:buster-backports AS build-stage
+
+ARG JAMULUS_VERSION
+
+RUN apt-get update \
+ && apt-get install -y \
+ build-essential \
+ qt5-qmake \
+ qtdeclarative5-dev \
+ qt5-default \
+ qttools5-dev-tools \
+ wget
+RUN wget https://github.com/corrados/jamulus/archive/$JAMULUS_VERSION.tar.gz
+RUN tar xzf $JAMULUS_VERSION.tar.gz
+RUN cd jamulus-$JAMULUS_VERSION \
+ && qmake "CONFIG+=nosound headless noupcasename" Jamulus.pro \
+ && make
+
+FROM scratch
+
+ARG JAMULUS_VERSION
+
+COPY --from=build-stage /jamulus-$JAMULUS_VERSION/jamulus .
+