From 58ea15078f81b636f63ed3a0c4b72cdee31eacd7 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Sat, 11 Apr 2020 19:12:10 +0100 Subject: [PATCH] Dockerfile: remove GOOS and GOARCH GOOS and GOARCH being set like this makes it impossible to compile on other archs. For me GOARCH prevents compilation on my ARM machine. For others GOOS will prevent windows. xref https://github.com/rclone/rclone/issues/4086 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a6f3a64cb..c80e04713 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /go/src/github.com/rclone/rclone/ RUN make quicktest RUN \ - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \ + CGO_ENABLED=0 \ make RUN ./rclone version