mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
docs: add comment how to reduce rclone binary size (#8000)
Some checks failed
Docker beta build / Build image job (push) Has been cancelled
Some checks failed
Docker beta build / Build image job (push) Has been cancelled
See #7998
This commit is contained in:
parent
e334366345
commit
bfa3278f30
|
@ -448,6 +448,11 @@ which corresponds to `~/go/bin/rclone` by default).
|
||||||
go install github.com/rclone/rclone@latest
|
go install github.com/rclone/rclone@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In some situations, rclone executable size might be too big for deployment
|
||||||
|
in very restricted environments when all backends with large SDKs are included.
|
||||||
|
To limit binary size unused backends can be commented out in `backends/all/all.go`
|
||||||
|
and unused commands in `cmd/all/all.go` before building with `go build` or `make`
|
||||||
|
|
||||||
## Ansible installation {#ansible}
|
## Ansible installation {#ansible}
|
||||||
|
|
||||||
This can be done with [Stefan Weichinger's ansible
|
This can be done with [Stefan Weichinger's ansible
|
||||||
|
|
Loading…
Reference in New Issue
Block a user