Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heifsave_buffer not found while running in Docker #31

Open
dandry opened this issue Aug 16, 2023 · 1 comment
Open

heifsave_buffer not found while running in Docker #31

dandry opened this issue Aug 16, 2023 · 1 comment

Comments

@dandry
Copy link

dandry commented Aug 16, 2023

Hello, first of all I'd like to thank all the contributors involved in this project. It is great.

I've found an issue with running the plugin in Docker container. During an attempt to transform given asset on request, the following error occurs:

debug: IPX Error (VipsOperation: class "heifsave_buffer" not found)

This happens when you build your Strapi Docker image using the following sample production Dockerfile.

For the runtime image (node:16-alpine), vips-dev is already being installed, however vips-heif is also required to make the plugin work. Then, the RUN docker statement should look like this:

FROM node:16-alpine
RUN apk add --no-cache vips-dev vips-heif

Adding this issue so it hopefully helps others facing the same problem. Can be closed right away 🙂

@winston0410
Copy link

hey @dandry you are the man, thanks for this solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants