2 Commits

Author SHA1 Message Date
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 10 additions and 1 deletions

View File

@ -5,7 +5,8 @@ RUN useradd --create-home app \
&& apt-get install -y --no-install-recommends \
jq
WORKDIR /home/app
RUN su app -c "npm install -g --prefix . wiki@0.11.4"
ARG VERSION=0.12.0
RUN su app -c "npm install -g --prefix . wiki@$VERSION"
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,11 @@ 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
``` bash
VERSION=0.12.0
docker build --build-arg VERSION=$VERSION -t dobbs/farm:$VERSION .
git tag -am "" $VERSION
```