Skip to content

Commit 9483a7e

Browse files
committed
no parameters
1 parent 559aa48 commit 9483a7e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

internal/testtools/deb_test.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,7 @@ func minorTag(t *testing.T, tag string) string {
173173
func buildDockerImage(t *testing.T, dockerfile, name, arch string) {
174174
t.Helper()
175175

176-
cmd := exec.Command(
177-
"docker", "buildx", "build",
178-
"--platform", "linux/amd64",
179-
"-t", name,
180-
"-f", dockerfile,
181-
".",
182-
)
176+
cmd := exec.Command("docker", "build", "-t", name, "-f", dockerfile, ".")
183177
// Capture both stdout and stderr
184178
var out bytes.Buffer
185179
var stderr bytes.Buffer

0 commit comments

Comments
 (0)