Created
March 27, 2017 11:45
-
-
Save oskosk/7d96cf6cad8ccf1bb72a8fdba5d78b71 to your computer and use it in GitHub Desktop.
Build Jetpack Admin Page (React based) with docker
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
docker run --rm -it -v $(pwd):/jetpack -w /jetpack --name jetpack node:6 /bin/bash -c "rm /usr/local/bin/yarn && apt-get update && apt-get -y install php5-cli && curl -s -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.17.9 && PATH=/root/.yarn/bin:$PATH bash -c 'yarn distclean && yarn build'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment