Skip to content

Instantly share code, notes, and snippets.

@oskosk
Created March 27, 2017 11:45
Show Gist options
  • Save oskosk/7d96cf6cad8ccf1bb72a8fdba5d78b71 to your computer and use it in GitHub Desktop.
Save oskosk/7d96cf6cad8ccf1bb72a8fdba5d78b71 to your computer and use it in GitHub Desktop.
Build Jetpack Admin Page (React based) with docker
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