@@ -107,7 +107,7 @@ println "The Value Of ARCH is: $arch"
107107if (" $arch " == " armhf" ) {
108108 project. exec {
109109 workingDir " src/main/packaging"
110- commandLine " docker" , " build" , " --no-cache" ,
110+ commandLine " docker" , " build" , " --no-cache" , " --pull " ,
111111 " --build-arg" , " IMAGE=arm32v7/debian:bullseye" ,
112112 " -t" , " adoptium-packages-linux-jdk-debian" ,
113113 " --build-arg=CONTAINER_REGISTRY=${ containerRegistry} " ,
@@ -119,7 +119,7 @@ if ("$arch" == "armhf") {
119119if (" $arch " == " riscv64" ) {
120120 project. exec {
121121 workingDir " src/main/packaging"
122- commandLine " docker" , " build" , " --no-cache" ,
122+ commandLine " docker" , " build" , " --no-cache" , " --pull " ,
123123 " --build-arg" , " IMAGE=riscv64/ubuntu:jammy" ,
124124 " -t" , " adoptium-packages-linux-jdk-debian" ,
125125 " --build-arg=CONTAINER_REGISTRY=${ containerRegistry} " ,
@@ -131,7 +131,7 @@ if ("$arch" == "riscv64") {
131131if (" $arch " != " armhf" && " $arch " != " riscv64" ){
132132 project. exec {
133133 workingDir " src/main/packaging"
134- commandLine " docker" , " build" , " --no-cache" ,
134+ commandLine " docker" , " build" , " --no-cache" , " --pull " ,
135135 " -t" , " adoptium-packages-linux-jdk-debian" ,
136136 " --build-arg=CONTAINER_REGISTRY=${ containerRegistry} " ,
137137 " -f" , " Dockerfile" ,
0 commit comments