diff --git a/Dockerfile b/Dockerfile index 5d80b02..daf4c11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM node:8-slim +FROM node:10-alpine -RUN useradd --create-home app \ - && apt-get update \ - && apt-get install -y --no-install-recommends \ +RUN adduser -D -h /home/app app \ + && apk add --update --no-cache \ + bash \ jq \ git WORKDIR /home/app -ARG WIKI_PACKAGE=wiki@0.16.2 +ARG WIKI_PACKAGE=wiki@0.17.0 RUN su app -c "npm install -g --prefix . $WIKI_PACKAGE" RUN su app -c "mkdir .wiki" COPY configure-wiki set-owner-name ./ diff --git a/README.md b/README.md index dc397d7..e8b8e4c 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,8 @@ This image's tag does not match the version of the included wiki software. Notes to self: ``` bash -git tag -am "" '0.50.0' +docker build --tag dobbs/farm:0.51.0 . +git tag -am "" '0.51.0' git push --tags ```