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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user