1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-26 05:27:31 +02:00

update nodebb

This commit is contained in:
kev 2018-08-19 05:48:40 +08:00
parent 33c957b629
commit 8520d1e6e4
2 changed files with 6 additions and 8 deletions

View File

@ -15,21 +15,20 @@ VOLUME $BB_CONTENT
RUN set -ex \ RUN set -ex \
&& apk add -U bash \ && apk add -U bash \
icu \
imagemagick \ imagemagick \
krb5-libs \
nodejs \ nodejs \
nodejs-npm \ nodejs-npm \
openssl \ openssl \
&& apk add -t TMP build-base \ && apk add -t TMP build-base \
curl \ curl \
git \ git \
krb5-dev \ icu-dev \
openssl-dev \ openssl-dev \
python \ python \
tar \ tar \
&& curl -sSL $BB_URL | tar xz --strip 1 \ && curl -sSL $BB_URL | tar xz --strip 1 \
&& npm install --production \ && ./nodebb setup \
&& npm cache clean \
&& apk del TMP \ && apk del TMP \
&& rm -rf /tmp/npm* \ && rm -rf /tmp/npm* \
/var/cache/apk/* /var/cache/apk/*

View File

@ -15,21 +15,20 @@ VOLUME $BB_CONTENT
RUN set -ex \ RUN set -ex \
&& apk add -U bash \ && apk add -U bash \
icu \
imagemagick \ imagemagick \
krb5-libs \
nodejs \ nodejs \
nodejs-npm \ nodejs-npm \
openssl \ openssl \
&& apk add -t TMP build-base \ && apk add -t TMP build-base \
curl \ curl \
git \ git \
krb5-dev \ icu-dev \
openssl-dev \ openssl-dev \
python \ python \
tar \ tar \
&& curl -sSL $BB_URL | tar xz --strip 1 \ && curl -sSL $BB_URL | tar xz --strip 1 \
&& npm install --production \ && ./nodebb setup \
&& npm cache clean \
&& apk del TMP \ && apk del TMP \
&& rm -rf /tmp/npm* \ && rm -rf /tmp/npm* \
/var/cache/apk/* /var/cache/apk/*