Skip to content

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

@cimchd

Description

@cimchd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions