Git Product home page Git Product logo

Comments (5)

bartlomieju avatar bartlomieju commented on May 27, 2024 1

@mmastrac can you take a look?

from deno_docker.

mmastrac avatar mmastrac commented on May 27, 2024

@schettgen

Does installing the official node package work for you?

This one might be difficult for us to fix for a bit as it might require some research -- we copy enough of glibc from distroless that we can make the deno binary work.

wget https://nodejs.org/dist/v20.9.0/node-v20.9.0-linux-x64.tar.xz -O /tmp/node.tar.xz
cd /tmp/ && tar --exclude 'node-*/include/*' -xvf node.tar.xz > /dev/null && cd -
export PATH=/tmp/node-v20.9.0-linux-x64/bin:$PATH

from deno_docker.

schettgen avatar schettgen commented on May 27, 2024

I created new docker with docker run --name deno_wget -d denoland/deno:alpine tail -f /dev/null

and executed command above

It's also not working see output below

/ # wget https://nodejs.org/dist/v20.9.0/node-v20.9.0-linux-x64.tar.xz -O /tmp/node.tar.xz
Connecting to nodejs.org (104.20.22.46:443)
saving to '/tmp/node.tar.xz'
node.tar.xz          100% |*****************************************************************************************| 24.0M  0:00:00 ETA
'/tmp/node.tar.xz' saved
/ # cd /tmp/ && tar --exclude 'node-*/include/*' -xvf node.tar.xz > /dev/null && cd -

/
/ # export PATH=/tmp/node-v20.9.0-linux-x64/bin:$PATH
/ # 
/ # node -v
node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/ #

from deno_docker.

mklinger avatar mklinger commented on May 27, 2024

Similar problem here with ffmpeg installed on top of denoland/deno:alpine-1.41.0 and above:

$ apk update && apk add ffmpeg
$ ffmpeg -version
Error relocating /usr/local/lib/libgcc_s.so.1: __cpu_indicator_init: symbol not found
Error relocating /usr/local/lib/libgcc_s.so.1: __cpu_model: symbol not found
Error relocating /usr/lib/libhwy.so.1: __extendhfdf2: symbol not found

It's working as expected with 1.40.5 and below.

There's some "magic" in the Alpine Dockerfile that copies files from the cc image. Maybe the versions from cc don't match the versions expected by Alpine packages?

from deno_docker.

schettgen avatar schettgen commented on May 27, 2024

Any updates here?

from deno_docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.