mirror of
https://github.com/lovell/sharp.git
synced 2025-07-12 03:50:13 +02:00
Docs: add Alpine Linux install details
This commit is contained in:
parent
3c4de796c8
commit
29354badd8
@ -48,8 +48,17 @@ it is recommended to install a system-wide installation of libvips from source:
|
|||||||
|
|
||||||
https://github.com/jcupitt/libvips#building-libvips-from-a-source-tarball
|
https://github.com/jcupitt/libvips#building-libvips-from-a-source-tarball
|
||||||
|
|
||||||
For Linux-based operating systems such as Alpine that use musl libc,
|
#### Alpine Linux
|
||||||
the smaller stack size means libvips' cache should be disabled
|
|
||||||
|
libvips is available in the
|
||||||
|
[testing repository](https://pkgs.alpinelinux.org/packages?name=vips-dev):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
apk add vips-dev --update-cache --repository https://dl-3.alpinelinux.org/alpine/edge/testing/
|
||||||
|
```
|
||||||
|
|
||||||
|
The smaller stack size of musl libc means
|
||||||
|
libvips may need to be used without a cache
|
||||||
via `sharp.cache(false)` to avoid a stack overflow.
|
via `sharp.cache(false)` to avoid a stack overflow.
|
||||||
|
|
||||||
### Mac OS
|
### Mac OS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user