Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <9BD9723D-2AC6-438A-A705-07F2E1CBF5E5@tibco.com>
Date: Tue, 18 Sep 2018 15:01:18 -0700
From: Pranab Dhar <pdhar@...co.com>
To: musl@...ts.openwall.com
Subject: must-utils update (1.1.18-r3 -> 1.1.20-r1) on 3.7 package list
 causing npm nodejs to break

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
       



Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.