use mainline wikijs source and patch it
This commit is contained in:
parent
c6fff8ecce
commit
253f38489a
2 changed files with 106 additions and 3 deletions
|
@ -12,12 +12,14 @@ RUN apk add --no-cache \
|
|||
RUN npm config set unsafe-perm true
|
||||
RUN npm install -g webpack webpack-cli
|
||||
|
||||
ENV WIKIJS_VERSION=d78127dc2973d8e773c6ad88e44c253c7fbda1a1
|
||||
ENV WIKIJS_VERSION=2.0.12
|
||||
|
||||
RUN git clone https://code.vanwa.ch/sebastian/wikijs.git -b nextcloud-auth /build
|
||||
RUN git clone https://github.com/Requarks/wiki.git -b $WIKIJS_VERSION /build
|
||||
ADD nextcloud-auth.patch /build/nextcloud-auth.patch
|
||||
|
||||
WORKDIR /build
|
||||
RUN git checkout $WIKIJS_VERSION
|
||||
#RUN git checkout $WIKIJS_VERSION
|
||||
RUN git apply nextcloud-auth.patch
|
||||
RUN npm install
|
||||
RUN make build
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue