docmumentation update
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Sat, 16 Dec 2017 17:27:34 +0100
changeset 32 bec145483ea8
parent 31 d265395c11ad
child 33 12390414aed0
docmumentation update
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