On 2/22/22 12:19 PM, Benoit Lacelle wrote: # docker run -it node:14.18.2-alpine sh Unable to find image 'node:14.18.2-alpine' locally 14.18.2-alpine: Pulling from library/node 59bf1c3509f3: Pull complete 331f5eb007b4: Pull complete bcd1922beba2: Pull complete 72573d587fdf: Pull complete Digest: sha256:1e7481a9a977d8e4160a73ed6a0e726724570bf7d941adbec63a82cf7c07ae19 Status: Downloaded newer image for node:14.18.2-alpine / # apk --no-cache add bash fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz (1/4) Installing ncurses-terminfo-base (6.3_p20211120-r0) (2/4) Installing ncurses-libs (6.3_p20211120-r0) (3/4) Installing readline (8.1.1-r0) (4/4) Installing bash (5.1.16-r0) Executing bash-5.1.16-r0.post-install Executing busybox-1.34.1-r3.trigger OK: 10 MiB in 20 packages / # bash bash-5.1# type -a npm npm is /usr/local/bin/npm bash-5.1# ls -l /usr/local/bin/npm lrwxrwxrwx 1 root root 38 Jan 3 19:28 /usr/local/bin/npm -> ../lib/node_modules/npm/bin/npm-cli.js bash-5.1# ls -l /usr/local/lib/node_modules/npm/bin/npm-cli.js -rwxr-xr-x 1 root root 4706 Nov 30 12:04 /usr/local/lib/node_modules/npm/bin/npm-cli.js bash-5.1# hash npm bash-5.1# hash hits command 0 /usr/local/bin/npm 2 /bin/ls bash-5.1# echo $BASH_VERSION 5.1.16(1)-release bash-5.1# hash npm ; echo $? 0 bash-5.1# exit exit / # exit
-- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/