mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-22 18:18:55 +00:00
Docker: fix build
This commit is contained in:
parent
12373b620e
commit
1521a28f45
@ -5,8 +5,8 @@ LABEL description="Alpine image to build Nativefier apps"
|
|||||||
# Install dependencies and cleanup extraneous files
|
# Install dependencies and cleanup extraneous files
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk add bash wine imagemagick dos2unix \
|
&& apk add bash wine imagemagick dos2unix \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/* \
|
||||||
|
&& mkdir /nativefier && chown node:node /nativefier
|
||||||
|
|
||||||
# Use node (1000) as default user not root
|
# Use node (1000) as default user not root
|
||||||
USER node
|
USER node
|
||||||
@ -33,7 +33,7 @@ RUN find ./icon-scripts ./src ./app -type f -print0 | xargs -0 dos2unix
|
|||||||
# Make sure nativefier is executable
|
# Make sure nativefier is executable
|
||||||
RUN npm link \
|
RUN npm link \
|
||||||
&& npm test \
|
&& npm test \
|
||||||
&& rm -rf ~/.npm/_cacache ~/.cache/electron \
|
&& rm -rf /tmp/nativefier* ~/.npm/_cacache ~/.cache/electron \
|
||||||
&& chmod +x $NPM_PACKAGES/bin/nativefier
|
&& chmod +x $NPM_PACKAGES/bin/nativefier
|
||||||
|
|
||||||
# Run a {lin,mac,win} build
|
# Run a {lin,mac,win} build
|
||||||
|
Loading…
Reference in New Issue
Block a user