forked from growilabs/growi-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.v42x
More file actions
29 lines (25 loc) · 980 Bytes
/
Dockerfile.v42x
File metadata and controls
29 lines (25 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM weseek/growi:4.2
LABEL maintainer Yuki Takei <yuki@weseek.co.jp>
ENV APP_DIR /opt/growi
# install dockerize
ENV DOCKERIZE_VERSION v0.6.1
USER root
RUN apk add --no-cache --virtual .dl-deps curl \
&& curl -sL https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
| tar -xz -C /usr/local/bin \
&& apk del .dl-deps
WORKDIR ${APP_DIR}
# install plugins if necessary
# ;;
# ;; NOTE: In GROWI v4.3 and later,
# ;; some official plugins (growi-plugin-lsx, growi-plugin-pukiwiki-like-linker and growi-plugin-attachment-refs)
# ;; are now included in the 'weseek/growi' image.
# ;; Therefore you will not need following lines except when you install third-party plugins.
# ;;
#RUN echo "install plugins" \
# && yarn add \
# growi-plugin-XXX \
# growi-plugin-YYY \
# && echo "done."
# you must rebuild if install plugin at least one
# RUN npm run build:prod