Dockerfile
changeset 32 bec145483ea8
parent 28 950f79385de7
child 37 fd09116d3537
--- 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