Change base image to node:10-alpine & wiki to 0.17.0

This commit is contained in:
Eric Dobbs 2019-03-27 22:26:09 -06:00
parent 76280f3e7b
commit f85afce8c8
2 changed files with 7 additions and 6 deletions

View File

@ -1,12 +1,12 @@
FROM node:8-slim FROM node:10-alpine
RUN useradd --create-home app \ RUN adduser -D -h /home/app app \
&& apt-get update \ && apk add --update --no-cache \
&& apt-get install -y --no-install-recommends \ bash \
jq \ jq \
git git
WORKDIR /home/app 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 "npm install -g --prefix . $WIKI_PACKAGE"
RUN su app -c "mkdir .wiki" RUN su app -c "mkdir .wiki"
COPY configure-wiki set-owner-name ./ COPY configure-wiki set-owner-name ./

View File

@ -41,7 +41,8 @@ This image's tag does not match the version of the included wiki software.
Notes to self: Notes to self:
``` bash ``` bash
git tag -am "" '0.50.0' docker build --tag dobbs/farm:0.51.0 .
git tag -am "" '0.51.0'
git push --tags git push --tags
``` ```