Skylark
Skylark9mo ago

update deno version on Alpine

on alpine the version of deno is 1.38.1 https://pkgs.alpinelinux.org/packages?name=deno is there a reason for not updating to latest 1.42 ? when it will be updated ?
5 Replies
DNA
DNA9mo ago
Have you tried deno upgrade in your terminal? This directly downloads the files from their github page
Skylark
SkylarkOP9mo ago
the version of deno on alpine has no upgrade feature
raunioroo
raunioroo9mo ago
you probably need to ask the alpine package maintainer, Jakub Jirutka. AFAIK deno team does not officially support/maintain any distribution packages or repositories. deno releasing every week or two, that means distro packages tend to be hopelessly outdated. if you are able, it's best to install deno using the distro-agnostic installer as per instructions on https://deno.com/ , then you can use the upgrade feature too
Leokuma
Leokuma9mo ago
There's this image too: https://github.com/dojyorin/deno_docker_image There's distroless and Alpine there. Maybe it's updated more often than the image you're using
GitHub
GitHub - dojyorin/deno_docker_image: The simple and small deno dock...
The simple and small deno docker image. Contribute to dojyorin/deno_docker_image development by creating an account on GitHub.
Skylark
SkylarkOP9mo ago
thanks but i dont want to build an image starting from the alpine image i want to run the minimal istructions to install deno i've tryed to run the install script that downloads the executable in the ~/.deno/bin folder but when I run deno i've got an error
~/.deno/bin # ldd deno
/lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f64efbb8000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by deno)
Error relocating deno: __isnan: symbol not found
Error relocating deno: __memcpy_chk: symbol not found
Error relocating deno: __vfprintf_chk: symbol not found
Error relocating deno: __vsnprintf_chk: symbol not found
Error relocating deno: __sysconf: symbol not found
Error relocating deno: backtrace: symbol not found
Error relocating deno: backtrace_symbols: symbol not found
Error relocating deno: __mbrlen: symbol not found
Error relocating deno: strtoll_l: symbol not found
Error relocating deno: strtoull_l: symbol not found
Error relocating deno: __register_atfork: symbol not found
Error relocating deno: __libc_stack_end: symbol not found
Error relocating deno: gnu_get_libc_version: symbol not found
Error relocating deno: __res_init: symbol not found
~/.deno/bin # ldd deno
/lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f64efbb8000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f64f5cfd000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by deno)
Error relocating deno: __isnan: symbol not found
Error relocating deno: __memcpy_chk: symbol not found
Error relocating deno: __vfprintf_chk: symbol not found
Error relocating deno: __vsnprintf_chk: symbol not found
Error relocating deno: __sysconf: symbol not found
Error relocating deno: backtrace: symbol not found
Error relocating deno: backtrace_symbols: symbol not found
Error relocating deno: __mbrlen: symbol not found
Error relocating deno: strtoll_l: symbol not found
Error relocating deno: strtoull_l: symbol not found
Error relocating deno: __register_atfork: symbol not found
Error relocating deno: __libc_stack_end: symbol not found
Error relocating deno: gnu_get_libc_version: symbol not found
Error relocating deno: __res_init: symbol not found
I think is missing some libs