mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-21 01:27:01 +02:00
upgrade nodebb to 1.17.0
This commit is contained in:
parent
150811ad5b
commit
704843f84d
@ -2,10 +2,10 @@
|
||||
# Dockerfile for nodebb
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@easypi.pro>
|
||||
FROM alpine:3
|
||||
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_SOURCE=/usr/src/nodebb
|
||||
ENV BB_CONTENT=/var/lib/nodebb
|
||||
|
@ -5,7 +5,7 @@
|
||||
FROM arm32v7/alpine:3
|
||||
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_SOURCE=/usr/src/nodebb
|
||||
ENV BB_CONTENT=/var/lib/nodebb
|
||||
|
@ -5,7 +5,7 @@
|
||||
FROM resin/rpi-raspbian
|
||||
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_SOURCE=/usr/src/nodebb
|
||||
ENV BB_CONTENT=/var/lib/nodebb
|
||||
@ -22,7 +22,7 @@ RUN set -ex \
|
||||
libssl1.0.0 \
|
||||
libssl-dev \
|
||||
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 \
|
||||
&& curl -sSL $BB_URL | tar xz --strip 1 \
|
||||
&& npm install --production \
|
||||
|
Loading…
Reference in New Issue
Block a user