3 Commits

Author SHA1 Message Date
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
2 changed files with 10 additions and 6 deletions

View File

@ -3,10 +3,11 @@ FROM node:4-slim
RUN useradd --create-home app \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
jq
jq \
git
WORKDIR /home/app
ARG VERSION=0.12.0
RUN su app -c "npm install -g --prefix . wiki@$VERSION"
ARG WIKI_PACKAGE=wiki@0.12.2
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

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