Is using sharp in Deno and Bun not possible? #2843
Answered
by
rubenfiszel
joshuaavalon
asked this question in
Questions
-
I tried to use sharp in either Deno or Bun but both of them failed to install. Is it not possible to use it in windmill environment? |
Beta Was this translation helpful? Give feedback.
Answered by
rubenfiszel
Dec 13, 2023
Replies: 1 comment
-
@joshuaavalon I remember a user asking about this on Discord and the conclusion was that sharp relied on lib that needs to be preinstalled on the worker. Which mean you need to either modify the base image of windmill OR use init scripts (https://www.windmill.dev/docs/advanced/preinstall_binaries#init-scripts). Highly recommend going the init scripts route. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joshuaavalon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@joshuaavalon I remember a user asking about this on Discord and the conclusion was that sharp relied on lib that needs to be preinstalled on the worker. Which mean you need to either modify the base image of windmill OR use init scripts (https://www.windmill.dev/docs/advanced/preinstall_binaries#init-scripts). Highly recommend going the init scripts route.