CI: remove ppcle64 and 390x from viceroy dpkg (#108866)

* remove ppcle64 and 390x from viceroy dpkg

* fix apt-get update

* remove armel
This commit is contained in:
Kevin Minehart
2025-07-29 16:53:13 +00:00
committed by GitHub
parent 29b30a38f0
commit 35f0dd8ec3
+5 -1
View File
@@ -69,7 +69,11 @@ func ViceroyContainer(
container := d.Container(containerOpts).From(fmt.Sprintf("rfratto/viceroy:%s", viceroyVersion))
// Install Go manually, and install make, git, and curl from the package manager.
container = container.WithExec([]string{"apt-get", "update"}).
container = container.
WithExec([]string{"dpkg", "--remove-architecture", "ppc64el"}).
WithExec([]string{"dpkg", "--remove-architecture", "s390x"}).
WithExec([]string{"dpkg", "--remove-architecture", "armel"}).
WithExec([]string{"apt-get", "update", "-yq"}).
WithExec([]string{"apt-get", "install", "-yq", "curl", "make", "git"}).
WithExec([]string{"/bin/sh", "-c", fmt.Sprintf("curl -L %s | tar -C /usr/local -xzf -", goURL)}).
WithEnvVariable("PATH", "/bin:/usr/bin:/usr/local/bin:/usr/local/go/bin:/usr/osxcross/bin")