Revert "Another attempt at more resilient building"
This reverts commit 8fd9adf232b7963e96250a0a08fbe3082e0cbf78.
This commit is contained in:
parent
8fd9adf232
commit
2504384fc4
@ -11,13 +11,10 @@ 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 . file:/tmp/wiki/wiki-0.37.1.tgz
|
||||
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 mkdir -p .wiki
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user