Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit makes use of the `resin/armv7hf-debian` Docker image to test and generate armhf builds. We needed to add a slash before `build` in `.gitignore` given that git was refusing to include any changes on `scripts/build` otherwise. Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
- Loading branch information
Showing
10 changed files
with
111 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
FROM resin/armv7hf-debian-qemu:latest | ||
|
||
|
||
RUN [ "cross-build-start" ] | ||
|
||
|
||
# Setup APT sources | ||
|
||
|
||
|
||
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list | ||
|
||
|
||
# Install dependencies | ||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
build-essential \ | ||
curl \ | ||
fuse \ | ||
git \ | ||
jq \ | ||
libasound2 \ | ||
libgconf-2-4 \ | ||
libgtk2.0-0 \ | ||
libx11-xcb1 \ | ||
libnss3 \ | ||
libxss1 \ | ||
libxtst6 \ | ||
libyaml-dev \ | ||
python \ | ||
python-pip \ | ||
python-dev \ | ||
python-software-properties \ | ||
unzip \ | ||
xvfb \ | ||
zip | ||
|
||
|
||
|
||
# NodeJS | ||
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - \ | ||
&& apt-get install -y nodejs | ||
|
||
# See https://github.com/mapbox/node-pre-gyp/issues/165 | ||
RUN npm config set unsafe-perm=true | ||
|
||
RUN npm config set spin=false | ||
RUN npm install -g uglify-es@3.0.3 electron-installer-debian@0.5.1 | ||
|
||
# Python | ||
COPY requirements.txt requirements.txt | ||
RUN pip install -r requirements.txt | ||
|
||
|
||
RUN [ "cross-build-end" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters