set platform

This commit is contained in:
Hyatt 2024-11-11 00:42:19 -06:00
parent 37b841fa11
commit 518593e6b0
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -26,7 +26,7 @@ pipeline {
steps {
script {
workspace = pwd()
dockerFile = """FROM ${repository}/dockerhub/arm64v8/debian:latest as builder
dockerFile = """FROM --platform=linux/arm/v8 ${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/arm64v8/debian:latest
FROM --platform=linux/arm/v8 ${repository}/dockerhub/arm64v8/debian:latest
LABEL org.opencontainers.image.authors="The_Spider <spider@smoothnet.org>"
LABEL org.opencontainers.image.title="darkice"