Another attempt at more resilient building
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -11,10 +11,13 @@ ARG WIKI_PACKAGE=wiki@0.37.0
|
||||
|
||||
USER node
|
||||
|
||||
RUN cd /tmp && \
|
||||
git clone https://github.com/fedwiki/wiki && \
|
||||
cd /tmp/wiki && \
|
||||
sed -i 's@"wiki-security-passportjs": "^0.10.0"@"wiki-security-passportjs": "git+https://git.coopcloud.tech/wiki-cafe/wiki-security-passportjs"@' package.json && \
|
||||
npm pack
|
||||
|
||||
RUN npm install -g --prefix . $WIKI_PACKAGE && \
|
||||
cd lib/node_modules/wiki && \
|
||||
npm install --prefix . git+https://git.coopcloud.tech/wiki-cafe/wiki-security-passportjs
|
||||
RUN npm install -g --prefix . file:/tmp/wiki/wiki-0.37.1.tgz
|
||||
|
||||
RUN mkdir -p .wiki
|
||||
|
||||
|
Reference in New Issue
Block a user