From cbb188fd4e2ab8923f6b1ff836f3a2081538fe2d Mon Sep 17 00:00:00 2001 From: Lorenzo Prosseda Date: Mon, 30 Jun 2025 16:44:12 +0200 Subject: [PATCH] Update Apline base, fix Jamulus version download --- Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 31accef..13da003 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM alpine:3.11 as builder +FROM alpine:3.21.3 as builder +ENV releaseversion=r3_11_0 RUN \ echo "**** updating system packages ****" && \ @@ -16,11 +17,12 @@ RUN \ WORKDIR /tmp RUN \ echo "**** getting source code ****" && \ - wget "https://github.com/jamulussoftware/jamulus/archive/latest.tar.gz" && \ - tar xzf latest.tar.gz + wget "https://github.com/jamulussoftware/jamulus/archive/refs/tags/${releaseversion}.tar.gz" -O jamulus-${releaseversion}.tar.gz && \ + tar xzf jamulus-${releaseversion}.tar.gz && \ + mv jamulus-${releaseversion} jamulus # Github directory format for tar.gz export -WORKDIR /tmp/jamulus-latest +WORKDIR /tmp/jamulus RUN \ echo "**** compiling source code ****" && \ qmake "CONFIG+=nosound headless" Jamulus.pro && \ @@ -30,7 +32,7 @@ RUN \ rm -rf /tmp/* && \ apk del .build-dependencies -FROM alpine:3.11 +FROM alpine:3.21.3 RUN apk add --update --no-cache \ qt5-qtbase-x11 icu-libs tzdata