[release-12.1.1] update release-build.yml (#109300)

* update release-build.yml

* [12.0.4] update release build (#109265)

* sync release-build w/ main

* Update Dockerfile

* Undo some dockerfile updates

(cherry picked from commit 3f6d86983d)
This commit is contained in:
Kevin Minehart
2025-08-06 22:38:52 +01:00
committed by GitHub
parent 15d4d230cb
commit 93605ed4ee
3 changed files with 30 additions and 6 deletions
+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")