Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
aa23f2f9b3 | |||
517e7b3e6a | |||
d5b43b160a | |||
f94133b505 | |||
60c869a141 |
@ -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"]
|
||||
|
@ -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'
|
||||
```
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user