Last active
January 9, 2016 22:06
-
-
Save justfortherec/e1b3d53db8c27b6c6f76 to your computer and use it in GitHub Desktop.
Setup script for Fairphone 2 build environment Docker image (https://hub.docker.com/r/jftr/fairphone2-build-env)
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
#!/bin/bash | |
# Configure path to Dockerfile and shared directory | |
FAIRPHONE_OS_PATH=`readlink -f "~/fairphone_os"` | |
# Download Docker image | |
sudo docker pull jftr/fairphone2-build-env | |
# Now your docker image is available. | |
# You can run the build instructions from | |
# http://code.fairphone.com/projects/fp-osos/dev/fairphone-os-build-instructions.html | |
# by executing | |
# $ docker run -v $FAIRPHONE_OS_PATH/:/var/fairphone_os/ jftr/fairphone2-build-env | |
# Or get an interactive shell to build manually with: | |
# $ docker run -v $FAIRPHONE_OS_PATH/:/var/fairphone_os/ -i -t jftr/fairphone2-build-env /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment