upgrade to node-8 and to wiki-0.13.0

This commit is contained in:
Eric Dobbs 2017-12-11 08:02:50 -07:00
parent 86548c594a
commit e37d746c69
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM node:4-slim FROM node:8-slim
RUN useradd --create-home app \ RUN useradd --create-home app \
&& apt-get update \ && apt-get update \
@ -6,7 +6,7 @@ RUN useradd --create-home app \
jq \ jq \
git git
WORKDIR /home/app WORKDIR /home/app
ARG WIKI_PACKAGE=wiki@0.12.2 ARG WIKI_PACKAGE=wiki@0.13.0
RUN su app -c "npm install -g --prefix . $WIKI_PACKAGE" RUN su app -c "npm install -g --prefix . $WIKI_PACKAGE"
RUN su app -c "mkdir .wiki" RUN su app -c "mkdir .wiki"
COPY configure-and-launch-wiki set-owner-name ./ COPY configure-and-launch-wiki set-owner-name ./

View File

@ -55,8 +55,8 @@ Open http://that.localtest.me:3000 in another.
This image's tag matches the version of the included wiki software. This image's tag matches the version of the included wiki software.
``` bash ``` bash
git tag -am "" '0.12.2' git tag -am "" '0.13.0'
git push --tags git push --tags
docker build -t dobbs/farm:0.12.2 .
docker push dobbs/farm:0.12.2
``` ```
The repos in Dockerhub and GitHub are configured to automatically build new tags.