forked from desktop/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Kleinschmidt
committed
Mar 14, 2018
1 parent
560bf60
commit 58b1432
Showing
6 changed files
with
55 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
FROM arm64v8/ubuntu:16.04 | ||
|
||
RUN groupadd --gid 114 jenkins \ | ||
&& useradd --uid 110 --gid jenkins --shell /bin/bash --create-home jenkins | ||
|
||
# Set up TEMP directory | ||
ENV TEMP=/tmp | ||
RUN chmod a+rwx /tmp | ||
|
||
RUN apt-get update && apt-get install -y\ | ||
curl \ | ||
dpkg \ | ||
fakeroot \ | ||
git \ | ||
gcc \ | ||
libasound2 \ | ||
libgconf-2-4 \ | ||
libgtk2.0-0 \ | ||
libgtk-3-0 \ | ||
libsecret-1-dev \ | ||
libnss3 \ | ||
libxss1 \ | ||
libxtst6 \ | ||
make \ | ||
python-setuptools \ | ||
rpm \ | ||
wget \ | ||
xz-utils \ | ||
xorriso \ | ||
xvfb \ | ||
zsync | ||
|
||
# Install node.js | ||
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - | ||
RUN apt-get install -y nodejs | ||
|
||
USER jenkins | ||
WORKDIR /home/jenkins | ||
|
||
# Install yarn | ||
RUN curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2 | ||
RUN export PATH=$HOME/.yarn/bin:$PATH |
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,6 @@ | ||
export TARGET_ARCH=arm64 | ||
yarn install --force --ignore-scripts | ||
npm rebuild --arch=arm64 --target_arch=arm64 | ||
cd app && yarn install --force --ignore-scripts | ||
npm rebuild --arch=arm64 --target_arch=arm64 | ||
cd .. && git submodule update --recursive --init && yarn compile:tslint |