Created
September 16, 2014 13:52
-
-
Save errordeveloper/40bcb99269005c075a26 to your computer and use it in GitHub Desktop.
Dockerfile snippets for Yocto
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
FROM gmacario/build-yocto | |
VOLUME [ "/home/build" ] | |
USER root | |
RUN chown build. /home/build | |
USER build | |
ENV HOME /home/build | |
CMD [ "-c", "cd $HOME; git clone --branch daisy --reference /opt/yocto/poky git://git.yoctoproject.org/poky; cd poky; export MACHINE=beaglebone; source oe-init-build-env; bitbake core-image-minimal" ] |
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
FROM gmacario/build-yocto | |
VOLUME [ "/home/build" ] | |
USER root | |
RUN chown build. /home/build | |
USER build | |
ENV HOME /home/build | |
CMD [ "-c", "cd $HOME/poky; export MACHINE=beaglebone; source oe-init-build-env; bash -l" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment