diff --git a/Dockerfile b/Dockerfile index 5841d82..4a46bbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:4-slim +FROM node:8-slim RUN useradd --create-home app \ && apt-get update \ @@ -6,7 +6,7 @@ RUN useradd --create-home app \ jq \ git WORKDIR /home/app -ARG WIKI_PACKAGE=wiki@0.12.2 +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 ./ diff --git a/README.md b/README.md index a3f2780..b11ed05 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ Open http://that.localtest.me:3000 in another. This image's tag matches the version of the included wiki software. ``` bash -git tag -am "" '0.12.2' +git tag -am "" '0.13.0' git push --tags -docker build -t dobbs/farm:0.12.2 . -docker push dobbs/farm:0.12.2 ``` + +The repos in Dockerhub and GitHub are configured to automatically build new tags.