Node.JS (14 to 19), libvips & supporting packages on Debian (for image processing with sharp, etc.)
10K+
A Docker image including libvips (built from source) and Node.JS in Debian. Good base image for users of image processing libraries like sharp.
https://github.com/shivjm/docker-node-libvips/
https://github.com/shivjm/docker-node-libvips/issues/
nodeN-libvipsV, where N is the Node.js major version number (14, 16, 17, 18, or 19) and V is the libvips version (currently only 8.14.1). For example, to use Node.js v14 with libvips v8.14.1, use the shivjm/node-libvips:node14-libvips8.14.1 image. No latest image is provided.
See the full list of tags on Docker Hub.
libopenjp2 is installed but doesn’t appear to be recognized, so JPEG2000 images probably aren’t supported.
Improvements welcome.
With a Node project whose package.json includes sharp as a dependency:
# If you need to create a new Node project.
mkdir my-new-project
cd my-new-project
npm init -y
# To install sharp and save it in the project’s dependencies.
npm install -S sharp
Dockerfile:
FROM shivjm/node-libvips:node16-libvips8.14.1
# First install the dependencies.
COPY package.json package-lock.json ./
RUN npm ci
# Then copy the code.
COPY . ./
CMD ["node", "index.js"]
Content type
Image
Digest
sha256:e7ab2a316…
Size
388.8 MB
Last updated
4 months ago
docker pull shivjm/node-libvips:node24-libvips8.17.1