Add cache recommendations for use with Alpine/musl #354

Prevent Windows EBUSY errors during tests
This commit is contained in:
Lovell Fuller
2016-02-11 20:33:21 +00:00
parent 2a56de69cc
commit 2d05804fc3
5 changed files with 10 additions and 7 deletions

View File

@@ -37,7 +37,7 @@
[#351](https://github.com/lovell/sharp/pull/351)
[@joelmukuthu](https://github.com/joelmukuthu)
* Check for glibc before downloading pre-compiled binaries.
* Improve support for musl libc systems e.g. Alpine Linux.
[#354](https://github.com/lovell/sharp/issues/354)
[@download13](https://github.com/download13)

View File

@@ -41,6 +41,10 @@ the following command as a user with `sudo` access
curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -
```
For Linux-based operating systems such as Alpine that use musl libc,
the smaller stack size means libvips' cache should be disabled
via `sharp.cache(false)` to avoid a stack overflow.
### Mac OS
[![OS X 10.9.5 Build Status](https://travis-ci.org/lovell/sharp-osx-ci.png?branch=master)](https://travis-ci.org/lovell/sharp-osx-ci)