1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

apk add nodejs-npm (FIX #55)

This commit is contained in:
kev 2017-07-10 17:02:16 +08:00
parent e9dcb7e8a5
commit 693dbd9be9
8 changed files with 8 additions and 4 deletions

View File

@ -13,6 +13,7 @@ RUN set -xe \
build-base \
dbus \
nodejs \
nodejs-npm \
python \
&& npm install -g homebridge \
homebridge-homeassistant \

View File

@ -13,6 +13,7 @@ RUN set -xe \
build-base \
dbus \
nodejs \
nodejs-npm \
python \
&& npm install -g homebridge \
homebridge-homeassistant \

View File

@ -11,7 +11,7 @@ ENV HUBOT_DESCRIPTION=$HUBOT_NAME-$HUBOT_ADAPTER
ENV HUBOT_SLACK_TOKEN=
RUN set -xe \
&& apk add --update ca-certificates nodejs \
&& apk add --update ca-certificates nodejs nodejs-npm \
&& npm install -g yo generator-hubot \
&& adduser -s /bin/sh -D hubot

View File

@ -11,7 +11,7 @@ ENV HUBOT_DESCRIPTION=$HUBOT_NAME-$HUBOT_ADAPTER
ENV HUBOT_SLACK_TOKEN=
RUN set -xe \
&& apk add --update ca-certificates nodejs \
&& apk add --update ca-certificates nodejs nodejs-npm \
&& npm install -g yo generator-hubot \
&& adduser -s /bin/sh -D hubot

View File

@ -8,7 +8,7 @@ MAINTAINER kev <noreply@easypi.pro>
WORKDIR /app
RUN set -xe \
&& apk add -U ca-certificates curl nodejs tar \
&& apk add -U ca-certificates curl nodejs nodejs-npm tar \
&& curl -sSL https://github.com/gavindinubilo/jam-api/archive/master.tar.gz | tar xz --strip 1 \
&& npm install --production \
&& apk del curl tar \

View File

@ -8,7 +8,7 @@ MAINTAINER kev <noreply@easypi.pro>
WORKDIR /app
RUN set -xe \
&& apk add -U nodejs \
&& apk add --no-cache nodejs nodejs-npm \
&& npm install -g json-server \
&& rm -rf /tmp/npm* /var/cache/apk/*

View File

@ -14,6 +14,7 @@ RUN set -xe \
build-base \
curl \
nodejs \
nodejs-npm \
python \
libmnl \
libmnl-dev \

View File

@ -14,6 +14,7 @@ RUN set -xe \
build-base \
curl \
nodejs \
nodejs-npm \
python \
libmnl \
libmnl-dev \