mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-03 06:10:20 +00:00
Docker: attempt to fix build
See https://hub.docker.com/api/audit/v1/action/05620acd-9984-4e10-9053-3a7edc0c8558/ : ``` The command '/bin/sh -c npm link && npm test && rm -rf /tmp/nativefier* ~/.npm/_cacache ~/.cache/electron && chmod +x $NPM_PACKAGES/bin/nativefier' returned a non-zero code: 243 ``` Culprit could be `rm -rf /tmp/nativefier*` : at this point /tmp/nativefier doesn't exist, so `sh` cannot evaluate glob `/tmp/nativefier*`, and exits 1
This commit is contained in:
parent
21665cac5f
commit
ffa421eb8e
@ -33,7 +33,7 @@ RUN find ./icon-scripts ./src ./app -type f -print0 | xargs -0 dos2unix
|
||||
# Make sure nativefier is executable
|
||||
RUN npm link \
|
||||
&& npm test \
|
||||
&& rm -rf /tmp/nativefier* ~/.npm/_cacache ~/.cache/electron \
|
||||
&& rm -rf ~/.npm/_cacache ~/.cache/electron \
|
||||
&& chmod +x $NPM_PACKAGES/bin/nativefier
|
||||
|
||||
# Run a {lin,mac,win} build
|
||||
|
Loading…
Reference in New Issue
Block a user