mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
add nodejs-npm where required
This commit is contained in:
parent
4e5b735525
commit
0bb0549e65
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user