From 05129207a2206550c42342f3f6a45d02a3a35f17 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Tue, 3 Dec 2019 14:19:49 +1100 Subject: [PATCH] Update QEMU to v4.1.1-1 --- cmd/authelia-scripts/cmd_docker.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/authelia-scripts/cmd_docker.go b/cmd/authelia-scripts/cmd_docker.go index 9de1dec94..82c9e513c 100644 --- a/cmd/authelia-scripts/cmd_docker.go +++ b/cmd/authelia-scripts/cmd_docker.go @@ -41,6 +41,8 @@ func dockerBuildOfficialImage(arch string) error { docker := &Docker{} // Set default Architecture Dockerfile to amd64 dockerfile := "Dockerfile" + // Set version of QEMU + qemuversion := "v4.1.1-1" // If not the default value if arch != defaultArch { @@ -54,7 +56,7 @@ func dockerBuildOfficialImage(arch string) error { panic(err) } - err = utils.CommandWithStdout("bash", "-c", "wget https://github.com/multiarch/qemu-user-static/releases/download/v4.1.0-1/qemu-arm-static -O ./qemu-arm-static && chmod +x ./qemu-arm-static").Run() + err = utils.CommandWithStdout("bash", "-c", "wget https://github.com/multiarch/qemu-user-static/releases/download/"+qemuversion+"/qemu-arm-static -O ./qemu-arm-static && chmod +x ./qemu-arm-static").Run() if err != nil { panic(err) @@ -66,7 +68,7 @@ func dockerBuildOfficialImage(arch string) error { panic(err) } - err = utils.CommandWithStdout("bash", "-c", "wget https://github.com/multiarch/qemu-user-static/releases/download/v4.1.0-1/qemu-aarch64-static -O ./qemu-aarch64-static && chmod +x ./qemu-aarch64-static").Run() + err = utils.CommandWithStdout("bash", "-c", "wget https://github.com/multiarch/qemu-user-static/releases/download/"+qemuversion+"/qemu-aarch64-static -O ./qemu-aarch64-static && chmod +x ./qemu-aarch64-static").Run() if err != nil { panic(err)