Skip to content

Commit d93480f

Browse files
committed
qemu-static can run on arm64 systems now
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 1c88894 commit d93480f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmd/apps/qemu-static.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func MakeInstallQemuStatic() *cobra.Command {
1818
var qemuStatic = &cobra.Command{
1919
Use: "qemu-static",
2020
Short: "Install qemu-user-static",
21-
Long: `Runs the qemu-user-static container in Docker to enable
21+
Long: `Runs the qemu-user-static container in Docker to enable
2222
support for multi-arch builds.
2323
2424
Learn more:
@@ -33,10 +33,6 @@ https://github.com/multiarch/qemu-user-static`,
3333

3434
arch, _ := env.GetClientArch()
3535

36-
if arch != "x86_64" {
37-
return fmt.Errorf(`qemu-user-static is only supported on the AMD64 architecture, found: %s`, arch)
38-
}
39-
4036
fmt.Printf("Running \"docker run --rm --privileged multiarch/qemu-user-static --reset -p yes\"\n\n")
4137

4238
if err := runQemuStaticContainer(); err != nil {

0 commit comments

Comments
 (0)