Skip to content

wjordan/docker-sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installs sharp in an Alpine Linux container.

Usage

Within the Docker image, sharp is pre-installed into the global node_modules folder with all compile-time dependencies removed.

To link global sharp to a local application $APP, you will need to do some manual steps to link your npm package to the pre-compiled sharp dependency without triggering recompilation, something like:

npm install --ignore-scripts
npm link sharp
rm -rf node_modules/$APP/node_modules/sharp
npm install

How to build

Just run docker build .

License

Licensed under MIT

About

Docker image for Sharp

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published