diff --git a/latest.Dockerfile b/latest.Dockerfile
index 435b339efa9755260579a78ebee2df4edacebe50..be342538e63943e666f9cea3fb1d56e9bc1e8a3a 100644
--- a/latest.Dockerfile
+++ b/latest.Dockerfile
@@ -52,6 +52,9 @@ RUN cd /tmp \
   ## Configure and build
   && ./boot.source \
   && ./configure \
+    --build=$(uname -m)-alpine-linux \
+    --host=$(uname -m)-alpine-linux \
+    --target=$(uname -m)-alpine-linux \
   ## Use the LLVM backend
   ## Switch llvm-targets from unknown-linux-gnueabihf->alpine-linux
   ## so we can match the llvm vendor string alpine uses