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:
parent
756d47fb50
commit
58ea15078f
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ WORKDIR /go/src/github.com/rclone/rclone/
|
||||||
|
|
||||||
RUN make quicktest
|
RUN make quicktest
|
||||||
RUN \
|
RUN \
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
|
CGO_ENABLED=0 \
|
||||||
make
|
make
|
||||||
RUN ./rclone version
|
RUN ./rclone version
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue