set platform
This commit is contained in:
parent
37b841fa11
commit
518593e6b0
@ -26,7 +26,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
workspace = pwd()
|
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 \\
|
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 \\
|
&& 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 \\
|
&& ./configure CXXFLAGS="-std=c++11" --with-pulseaudio --with-lame --with-alsa --with-jack \\
|
||||||
&& make
|
&& 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.authors="The_Spider <spider@smoothnet.org>"
|
||||||
LABEL org.opencontainers.image.title="darkice"
|
LABEL org.opencontainers.image.title="darkice"
|
||||||
|
Reference in New Issue
Block a user