You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker run -t --rm --entrypoint yarn node:14-alpine global add jpeg-recompress-bin
yarn global v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin
Output:
⚠ spawn /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress ENOENT
⚠ jpeg-recompress pre-build test failed
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
Inside the container:
/usr/src/app # /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress
/bin/sh: /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress: not found
/usr/src/app # file /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompre
ss
/usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=6fe1a43ed9bf9ace7ff3b95d2e0c3d8ab98ef3d8, not stripped
/usr/src/app # ldd /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompres
s
/lib64/ld-linux-x86-64.so.2 (0x7f797940d000)
libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f797940d000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f797940d000)
Error relocating /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress: __vfprintf_chk: symbol not found
Error relocating /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress: __printf_chk: symbol not found
Error relocating /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress: __fprintf_chk: symbol not found
Error relocating /usr/local/share/.config/yarn/global/node_modules/jpeg-recompress-bin/vendor/jpeg-recompress: __sprintf_chk: symbol not found
The text was updated successfully, but these errors were encountered:
How to reproduce:
Inside the container:
The text was updated successfully, but these errors were encountered: