From: Pranab Dhar <pdhar@tibco.com>
To: musl@lists.openwall.com
Subject: must-utils update (1.1.18-r3 -> 1.1.20-r1) on 3.7 package list causing npm nodejs to break
Date: Tue, 18 Sep 2018 15:01:18 -0700 [thread overview]
Message-ID: <9BD9723D-2AC6-438A-A705-07F2E1CBF5E5@tibco.com> (raw)
Hi,
I have come across a problem while using Node npm in alpine linux 3.7 in a docker container as outlined in this Yarn issue https://github.com/yarnpkg/yarn/issues/6384
+ npm install chai
npm ERR! code EADDRNOTAVAIL
npm ERR! errno EADDRNOTAVAIL
npm ERR! request to https://registry.npmjs.org/chai failed, reason: getaddrinfo EADDRNOTAVAIL registry.npmjs.org:443
I have been able to recreate the issue using this docker script at the end of this email.
To build docker image from the Dockerfile folder command line :
docker build -t testnode .
To see a success remove the line ‘musl-utils \’.
I believe musl dev group would be able shed more light into the issue.
- Pranab
###################################################################################
# Base OS Alpine 3.7 #
###################################################################################
FROM alpine:3.7
RUN set -ex \
&& cat /etc/alpine-release \
&& cat /etc/apk/repositories \
&& apk upgrade --update-cache --available \
&& apk add --no-cache \
libc6-compat \
musl-dev \
bash \
bash-completion \
wget \
curl \
tar \
zip \
unzip \
which \
findutils \
net-tools \
iproute2 \
xz \
&& apk info -vv | sort \
&& echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
&& echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
&& echo apk upgrade -v --progress --update-cache --available \
&& apk add --progress -u --no-cache \
libc6-compat \
musl-dev \
bash \
bash-completion \
wget \
curl \
tar \
zip \
unzip \
which \
findutils \
xz \
iproute2 \
net-tools \
alpine-baselayout \
musl \
busybox \
pkgconf \
ncurses-terminfo-base \
ncurses-terminfo \
ncurses-libs \
readline \
bash-completion \
libressl2.7-libcrypto \
ca-certificates \
nghttp2-libs \
libssh2 \
libressl2.7-libssl \
libressl2.7-libtls \
ssl_client \
libcurl \
curl \
findutils \
jansson \
libnftnl-libs \
iptables \
iproute2 \
iproute2-bash-completion \
scanelf \
musl-utils \
&& apk add --progress --no-cache \
openconnect \
nodejs \
nodejs-npm \
&& apk info -vv | sort \
&& npm init -y \
&& npm install chai
reply other threads:[~2018-09-18 22:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9BD9723D-2AC6-438A-A705-07F2E1CBF5E5@tibco.com \
--to=pdhar@tibco.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).