diff options
author | 2021-06-08 04:47:40 +0530 | |
---|---|---|
committer | 2021-06-08 04:47:40 +0530 | |
commit | 76b9acc16543e873ba647c847b37a3e12ec20b11 (patch) | |
tree | 23fdedffcf8ee7435a76ba0e91b64ad05501075f /Dockerfile | |
parent | New translations en-US.json (Korean) (diff) | |
download | ferdium-app-76b9acc16543e873ba647c847b37a3e12ec20b11.tar.gz ferdium-app-76b9acc16543e873ba647c847b37a3e12ec20b11.tar.zst ferdium-app-76b9acc16543e873ba647c847b37a3e12ec20b11.zip |
Builds using GitHub actions (#1467)
* Using GH Actions for building, packaging and publishing for all 3 OSes (macos, ubuntu and windows). Handles PR builds, release builds, scheduled nightly builds and manual triggering from the web-ui.
* Removed references to travis and appveyor and their respective config files.
* Added ability to force rebuild nightlies without new version number. (This should allow us to rerun nightly builds with the same build number. Looks for the trigger comment to contain: 'force build' and 'nightly branch')
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index 4f772c0da..c94b42539 100644 --- a/Dockerfile +++ b/Dockerfile | |||
@@ -8,13 +8,14 @@ COPY lerna.json ./ | |||
8 | # Note: This is being set to bypass the error with missing git repo information for the 'preval-build-info' module | 8 | # Note: This is being set to bypass the error with missing git repo information for the 'preval-build-info' module |
9 | ENV PREVAL_BUILD_INFO_PLACEHOLDERS=true | 9 | ENV PREVAL_BUILD_INFO_PLACEHOLDERS=true |
10 | 10 | ||
11 | RUN npm i node-gyp@8.0.0 \ | 11 | RUN npm i -g node-gyp@8.0.0 \ |
12 | && npm config set node_gyp "$(which node-gyp)" \ | ||
12 | && npx lerna bootstrap | 13 | && npx lerna bootstrap |
13 | 14 | ||
14 | COPY . . | 15 | COPY . . |
15 | 16 | ||
16 | RUN cd recipes && npm i && npm run package && cd .. \ | 17 | RUN cd recipes && npm i && npm run package && cd .. |
17 | && npm run build | 18 | RUN npm run build |
18 | 19 | ||
19 | FROM busybox | 20 | FROM busybox |
20 | 21 | ||