Skip to content

Commit f8f8ed2

Browse files
committed
change the docker platform
1 parent f94d96d commit f8f8ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ballerina/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static def checkExecResult(executionResult, failText, standardOutput) {
142142
task createMySQLTestDockerImage(type: Exec) {
143143
if (!Os.isFamily(Os.FAMILY_WINDOWS)) {
144144
def standardOutput = new ByteArrayOutputStream()
145-
commandLine 'sh', '-c', "docker build --platform linux/x86_64/v8 -f $project.projectDir/tests/resources/mysql/Dockerfile -t ballerina-persist-mysql" +
145+
commandLine 'sh', '-c', "docker build --platform linux/amd64 -f $project.projectDir/tests/resources/mysql/Dockerfile -t ballerina-persist-mysql" +
146146
" -q $project.projectDir/tests/resources/mysql/"
147147
doLast {
148148
checkExecResult(executionResult, 'Error', standardOutput)

0 commit comments

Comments
 (0)