FINERACT-1724
- Add support for M1/M2 or other ARM64. Docker image will be based on AMR64 images, for the rest of the architectures it falls back to amd64.
This commit is contained in:
@@ -25,6 +25,12 @@ apply from: "${rootDir}/buildSrc/src/main/groovy/org.apache.fineract.dependencie
|
|||||||
jib {
|
jib {
|
||||||
from {
|
from {
|
||||||
image = 'azul/zulu-openjdk-alpine:17'
|
image = 'azul/zulu-openjdk-alpine:17'
|
||||||
|
platforms {
|
||||||
|
platform {
|
||||||
|
architecture = System.getProperty("os.arch").equals("aarch64")?"arm64":"amd64"
|
||||||
|
os = 'linux'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
to {
|
to {
|
||||||
|
|||||||
@@ -244,6 +244,12 @@ bootJar {
|
|||||||
jib {
|
jib {
|
||||||
from {
|
from {
|
||||||
image = 'azul/zulu-openjdk-alpine:17'
|
image = 'azul/zulu-openjdk-alpine:17'
|
||||||
|
platforms {
|
||||||
|
platform {
|
||||||
|
architecture = System.getProperty("os.arch").equals("aarch64")?"arm64":"amd64"
|
||||||
|
os = 'linux'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
to {
|
to {
|
||||||
|
|||||||
Reference in New Issue
Block a user