5 Commits
1.0.2 ... 1.0.6

Author SHA1 Message Date
aa23f2f9b3 version 1.0.6 2020-08-29 12:44:03 -06:00
517e7b3e6a Upgrade to wiki 0.21.2 2020-08-29 12:42:28 -06:00
d5b43b160a add NPM_CONFIG_PREFIX environment variable
Should remove one step from the instructions for developing plugins.
It's a step I consistently miss in my haste to get on with the hacking
and don't notice myself skip.
2020-08-29 12:37:30 -06:00
f94133b505 bump to wiki-client@0.20.1 and wiki-server@0.17.5 2020-04-19 17:35:00 -06:00
60c869a141 Anticipating next wiki release with updates to wiki-client & -server 2020-02-17 09:55:38 -07:00
3 changed files with 8 additions and 7 deletions

View File

@ -5,12 +5,15 @@ RUN apk add --update --no-cache \
git \
jq
WORKDIR "/home/node"
ARG WIKI_PACKAGE=wiki@0.21.0
ARG WIKI_PACKAGE=wiki@0.21.2
RUN su node -c "npm install -g --prefix . $WIKI_PACKAGE"
RUN su node -c "mkdir -p .wiki"
VOLUME "/home/node/.wiki"
EXPOSE 3000
USER node
ENV PATH="${PATH}:/home/node/bin"
# Adding this line to make local plugin development easier
# see https://local-farm.wiki.dbbs.co/make-a-new-plugin.html
ENV NPM_CONFIG_PREFIX="${HOME}"
ENTRYPOINT ["dumb-init"]
CMD ["wiki", "--farm", "--security_type=friends"]

View File

@ -53,10 +53,8 @@ The repos in Dockerhub and GitHub are configured to automatically build new tags
# Publish experimental plugins
Invoke Dockerhub and GitHub integration.
``` 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
git tag -am "" '1.0.2-pre-0217'
git push --atomic origin master '1.0.2-pre-0217'
```

View File

@ -18,7 +18,7 @@ spec:
fsGroup: 1000
containers:
- name: farm
image: dobbs/farm:1.0.1
image: dobbs/farm:1.0.6
command: ["wiki"]
ports:
- containerPort: 3000