From e1afb91328ec1d6e9a8a0941f79233d4f412efa8 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Sun, 10 Nov 2024 23:42:38 -0600 Subject: [PATCH] build for arm? --- build-darkice.jenkins | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build-darkice.jenkins b/build-darkice.jenkins index 2bfae20..26a851f 100644 --- a/build-darkice.jenkins +++ b/build-darkice.jenkins @@ -26,7 +26,7 @@ pipeline { steps { script { workspace = pwd() - dockerFile = """FROM ${repository}/dockerhub/library/debian:latest as builder + dockerFile = """FROM ${repository}/dockerhub/arm64v8/debian:latest as builder RUN apt-get update \\ && apt-get --no-install-recommends --yes install ca-certificates curl build-essential tar pkg-config alsa-utils lame libmp3lame-dev libpulse-dev libjack-jackd2-dev libaudio-dev libasound2-dev libshout3-dev libmp3lame-dev \\ @@ -36,7 +36,7 @@ RUN apt-get update \\ && ./configure CXXFLAGS="-std=c++11" --with-pulseaudio --with-lame --with-alsa --with-jack \\ && make -FROM ${repository}/dockerhub/library/debian:latest +FROM ${repository}/dockerhub/arm64v8/debian:latest LABEL org.opencontainers.image.authors="The_Spider " LABEL org.opencontainers.image.title="darkice" @@ -63,6 +63,9 @@ ENTRYPOINT [ "/bin/bash", "-c", "/usr/local/bin/darkice" ] ], destination: [ "${repository}/library/darkice:latest", + ], + buildArg: [ + "--custom-platform=linux/arm/v8", ] ) }