Installs libvips and sharp inside of an Alpine container. You can check the available versions of vips
and vips-dev
by navigating to the libvips link. Problems you may encounter are the absolute latest version of sharp not supporting the version of libvips in the repository.
This repository makes the following assumptions
- You already have a package.json with all your dependencies and code
- You have private NPM modules you are pulling
- You have used
make
- You have used Alpine Linux
- You have
docker
installed
- Write some code
- Type
make build
- Run your new container via
docker run -d $CID
- Verify your container is running via
docker ps
- Break it
- Fix it
- Rinse repeat
Phil Porada - philporada@gmail.com & Dan Rawlins
MIT
(c) 2016 GreenLancer.com