From 0bb0549e653d0ed883168b479e29706b291faf2f Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Mon, 13 Mar 2017 05:07:01 +0100 Subject: [PATCH] add nodejs-npm where required --- ghost/Dockerfile | 2 +- rtorrent-flood/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ghost/Dockerfile b/ghost/Dockerfile index 6f2fd34..7702d65 100644 --- a/ghost/Dockerfile +++ b/ghost/Dockerfile @@ -34,6 +34,7 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a tini@commuedge \ su-exec \ nodejs \ + nodejs-npm \ && wget -q https://github.com/TryGhost/Ghost/releases/download/${GHOST_VERSION}/Ghost-${GHOST_VERSION}.zip -P /tmp \ && unzip -q /tmp/Ghost-${GHOST_VERSION}.zip -d /ghost \ && cd /ghost \ @@ -42,7 +43,6 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a && mv config.example.js config.js \ && sed -i 's/127.0.0.1/0.0.0.0/g' config.js \ && npm cache clean \ - && apk del ca-certificates openssl \ && rm -rf /tmp/* /var/cache/apk/* COPY run.sh /usr/local/bin/run.sh diff --git a/rtorrent-flood/Dockerfile b/rtorrent-flood/Dockerfile index 3db9546..eeb0c62 100644 --- a/rtorrent-flood/Dockerfile +++ b/rtorrent-flood/Dockerfile @@ -41,6 +41,7 @@ RUN NB_CORES=${BUILD_CORES-`getconf _NPROCESSORS_CONF`} \ su-exec \ python \ nodejs \ + nodejs-npm \ && apk add -X http://dl-cdn.alpinelinux.org/alpine/v3.4/community -U openjdk8-jre==8.111.14-r0 openjdk8-jre-base==8.111.14-r0 openjdk8-jre-lib==8.111.14-r0 \ && cd /tmp && mkdir libtorrent rtorrent \ && cd libtorrent && wget -qO- https://github.com/rakshasa/libtorrent/archive/${LIBTORRENT_VER}.tar.gz | tar xz --strip 1 \