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
This commit is contained in:
Brandon Philips 2020-04-11 19:12:10 +01:00 committed by Nick Craig-Wood
parent 756d47fb50
commit 58ea15078f

View File

@ -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