Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
86548c594a | |||
ef34fdc759 |
@ -3,9 +3,10 @@ FROM node:4-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.12.2
|
||||||
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 ./
|
||||||
|
@ -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.12.2'
|
||||||
docker build --build-arg VERSION=$VERSION -t dobbs/farm:$VERSION .
|
git push --tags
|
||||||
git tag -am "" $VERSION
|
docker build -t dobbs/farm:0.12.2 .
|
||||||
|
docker push dobbs/farm:0.12.2
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user