3 Commits

Author SHA1 Message Date
e37d746c69 upgrade to node-8 and to wiki-0.13.0 2017-12-11 08:02:50 -07:00
86548c594a upgrade to wiki 0.12.2
includes update to client and several plugins:
calendar, markdown, and html
2017-11-06 18:00:57 -07:00
ef34fdc759 enable github-based npm packages for WIKI_PACKAGE
npm needs git installed in order to install packages from github
2017-10-02 07:10:55 -06:00
2 changed files with 10 additions and 6 deletions

View File

@ -1,11 +1,12 @@
FROM node:4-slim FROM node:8-slim
RUN useradd --create-home app \ RUN useradd --create-home app \
&& apt-get update \ && apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
jq jq \
git
WORKDIR /home/app WORKDIR /home/app
ARG WIKI_PACKAGE=wiki@0.12.1 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

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