1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-08 04:04:42 +02:00

upgrade nodebb to 1.17.0

This commit is contained in:
kev 2021-04-22 10:55:12 +08:00
parent 150811ad5b
commit 704843f84d
3 changed files with 6 additions and 6 deletions

View File

@ -2,10 +2,10 @@
# Dockerfile for nodebb # Dockerfile for nodebb
# #
FROM alpine FROM alpine:3
MAINTAINER kev <noreply@easypi.pro> MAINTAINER EasyPi Software Foundation
ENV BB_VER=1.12.2 ENV BB_VER=1.17.0
ENV BB_URL=https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz ENV BB_URL=https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz
ENV BB_SOURCE=/usr/src/nodebb ENV BB_SOURCE=/usr/src/nodebb
ENV BB_CONTENT=/var/lib/nodebb ENV BB_CONTENT=/var/lib/nodebb

View File

@ -5,7 +5,7 @@
FROM arm32v7/alpine:3 FROM arm32v7/alpine:3
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
ENV BB_VER=1.12.2 ENV BB_VER=1.17.0
ENV BB_URL=https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz ENV BB_URL=https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz
ENV BB_SOURCE=/usr/src/nodebb ENV BB_SOURCE=/usr/src/nodebb
ENV BB_CONTENT=/var/lib/nodebb ENV BB_CONTENT=/var/lib/nodebb

View File

@ -5,7 +5,7 @@
FROM resin/rpi-raspbian FROM resin/rpi-raspbian
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
ENV BB_VER=1.12.2 ENV BB_VER=1.17.0
ENV BB_URL=https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz ENV BB_URL=https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz
ENV BB_SOURCE=/usr/src/nodebb ENV BB_SOURCE=/usr/src/nodebb
ENV BB_CONTENT=/var/lib/nodebb ENV BB_CONTENT=/var/lib/nodebb
@ -22,7 +22,7 @@ RUN set -ex \
libssl1.0.0 \ libssl1.0.0 \
libssl-dev \ libssl-dev \
python \ python \
&& curl -sSL https://deb.nodesource.com/setup_10.x | bash - \ && curl -sSL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs \ && apt-get install -y nodejs \
&& curl -sSL $BB_URL | tar xz --strip 1 \ && curl -sSL $BB_URL | tar xz --strip 1 \
&& npm install --production \ && npm install --production \