2 Commits

Author SHA1 Message Date
356afda8a7 Update wiki version for security fix 2018-11-27 21:10:15 -08:00
e9bd94e860 remind myself how to publish plugin experiments 2018-02-28 08:23:21 -07:00
2 changed files with 13 additions and 3 deletions

View File

@ -6,7 +6,7 @@ RUN useradd --create-home app \
jq \ jq \
git git
WORKDIR /home/app WORKDIR /home/app
ARG WIKI_PACKAGE=wiki@0.14.0 ARG WIKI_PACKAGE=wiki@0.15.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

@ -36,13 +36,23 @@ Visit http://localhost:3000
# Development # Development
This image's tag matches the version of the included wiki software. 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.14.0' git tag -am "" '0.50.0'
git push --tags git push --tags
``` ```
The repos in Dockerhub and GitHub are configured to automatically build new tags. The repos in Dockerhub and GitHub are configured to automatically build new tags.
# Publish experimental plugins
``` bash
docker build \
--tag dobbs/farm:0.14.0-frame \
--build-arg WIKI_PACKAGE='dobbs/wiki#frame' \
.
docker push dobbs/farm:0.14.0-frame
```