# HG changeset patch # User Edouard Tisserant # Date 1513441654 -3600 # Node ID bec145483ea8463947fd5ba942623a765b7df633 # Parent d265395c11ad7c1c96cd17dbc9c86afa99ae4386 docmumentation update diff -r d265395c11ad -r bec145483ea8 Dockerfile --- a/Dockerfile Sat Dec 16 17:27:00 2017 +0100 +++ b/Dockerfile Sat Dec 16 17:27:34 2017 +0100 @@ -3,8 +3,12 @@ # initialize : # docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t beremiz_builder . # -# build installer as-is : -# docker run -v ~/src:/home/devel/src -v ~/build/:/home/devel/build --rm beremiz_builder +# build installer in ~/build, fetch source from repo : +# docker run -v ~/build/:/home/devel/build beremiz_builder +# +# build installer in ~/build, taking source from ~/src : +# docker run -v ~/src:/home/devel/src -v ~/build/:/home/devel/build --rm beremiz_builder \ +# xvfb-run make -C /home/devel/build -f /home/devel/src/LPC-2.MC9_distro/Makefile # # to use on code-build-test cycle : # docker create --name current -v ~/src:/home/devel/src -v ~/build/:/home/devel/build -i -t beremiz_builder /bin/bash