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

Deno + Node alpine image not working with deno-bin #428

Open
cimchd opened this issue Oct 25, 2024 · 0 comments
Open

Deno + Node alpine image not working with deno-bin #428

cimchd opened this issue Oct 25, 2024 · 0 comments

Comments

@cimchd
Copy link

cimchd commented Oct 25, 2024

I need an alpine docker image with deno and node for our monorepo. We still have some node scripts, so we need both.
I tried the following:

FROM node:20-alpine3.20

COPY --from=denoland/deno:bin-2.0.2 /deno /usr/local/bin/deno

RUN apk --update add libc6-compat

But it did not work. I think the problem ist, that the deno bin is compiled against glibc and won't work with alpines musl-libc,
I tried to solve this problem with lib6-compat but this did not work.

I think the best solution woul be to add extra bin images for alpine: e.g. denoland/deno:bin-2.0.2-alpine

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

1 participant