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
vfs-used-is-size
Brandon Philips 2020-04-11 19:12:10 +01:00 committed by Nick Craig-Wood
parent 756d47fb50
commit 58ea15078f
1 changed files with 1 additions and 1 deletions

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