2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-26 23:21:36 +01:00

upgrade nodebb to 1.0.2

This commit is contained in:
kev
2016-04-02 07:50:15 +08:00
parent 863c4bddf9
commit 76a713cd98
6 changed files with 4 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
FROM debian
MAINTAINER kev <noreply@datageek.info>
ENV BB_VER 0.9.3
ENV BB_VER 1.0.2
ENV BB_URL https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz
ENV BB_SOURCE /usr/src/nodebb
ENV BB_CONTENT /var/lib/nodebb
@@ -25,7 +25,6 @@ RUN set -ex \
&& curl -sSL https://deb.nodesource.com/setup_4.x | bash - \
&& apt-get install -y nodejs \
&& curl -sSL $BB_URL | tar xz --strip 1 \
&& sed -i '/"bufferutil": {/,/},/d; /"utf-8-validate": {/,/},/d' npm-shrinkwrap.json \
&& npm install --production \
&& npm cache clean \
&& apt-get remove -y build-essential \