From 36c66c0ec47d319b124d8159c3fb6b92f8eb4df0 Mon Sep 17 00:00:00 2001 From: "Granbery, Hasty" Date: Mon, 15 Dec 2014 19:44:28 -0800 Subject: [PATCH] Force GOARM=5 on ARM builds --- docker/base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile index 7f46bb7..474dc55 100644 --- a/docker/base/Dockerfile +++ b/docker/base/Dockerfile @@ -111,7 +111,7 @@ RUN \ echo >> $BUILD && \ echo 'echo Compiling for linux/arm...' >> $BUILD && \ echo 'CC=arm-linux-gnueabi-gcc \\' >> $BUILD && \ - echo ' GOOS=linux GOARCH=arm CGO_ENABLED=1 go build $V -o $NAME-linux-arm' >> $BUILD && \ + echo ' GOOS=linux GOARCH=arm CGO_ENABLED=1 GOARM=5 go build $V -o $NAME-linux-arm' >> $BUILD && \ echo >> $BUILD && \ echo 'echo Compiling for windows/amd64...' >> $BUILD && \ echo 'CC=x86_64-w64-mingw32-gcc \\' >> $BUILD && \