Last active
August 31, 2017 20:23
-
-
Save sqrtofsaturn/cf2080967dba5fd8e86d19aef3347cde to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo apt-get update --fix-missing \ | |
&& sudo apt-get install -y --no-install-recommends python2.7 build-essential git curl clang openssl libssl-dev pkg-config \ | |
&& mkdir -p ~/pkg-fetch \ | |
&& mkdir -p ~/pkg-fetch/cache \ | |
&& mkdir -p ~/pkg-fetch/precompile \ | |
&& curl --silent -L --fail https://github.com/zeit/pkg-fetch/archive/master.tar.gz | tar --strip 1 -xz -C ~/pkg-fetch \ | |
&& mkdir -p ~/pkg-fetch/opt/node \ | |
&& curl --silent -L --fail https://nodejs.org/dist/v8.3.0/node-v8.3.0-linux-armv7l.tar.xz | tar --strip 1 -xJ -C ~/pkg-fetch/opt/node \ | |
&& mkdir -p ~/pkg-fetch/opt/yarn \ | |
&& curl --silent -L --fail https://yarnpkg.com/latest.tar.gz | tar --strip 1 -xz -C ~/pkg-fetch/opt/yarn \ | |
&& cd ~/pkg-fetch \ | |
&& export PATH=$PWD/opt/yarn/bin:$PWD/opt/node/bin:$PATH \ | |
&& export GITHUB_USERNAME=octoblu \ | |
&& export PKG_CACHE_PATH=$PWD/cache \ | |
&& yarn \ | |
&& yarn run babel \ | |
&& yarn run bin -- -n node8.3.0 -p linux -a armv7 -b & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment