6 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
e22b66240d enabled building scoped packages & bumped version to 0.12.1 2017-09-20 17:50:00 -06:00
e06405adc1 bumped wiki version to 0.12.0 2017-09-04 21:56:47 -06:00
bc8204c9d3 use build arg for wiki version & for container tag
There is a new version of wiki available.  Want to tag this version
and enable building and tagging the next version.
2017-09-04 21:45:32 -06:00
2 changed files with 16 additions and 3 deletions

View File

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

View File

@ -49,3 +49,14 @@ docker run -p 3000:3000 -it --rm \
Open http://this.localtest.me:3000 in one tab.
Open http://that.localtest.me:3000 in another.
# Development
This image's tag matches the version of the included wiki software.
``` bash
git tag -am "" '0.13.0'
git push --tags
```
The repos in Dockerhub and GitHub are configured to automatically build new tags.