Author: Matti Picus <[email protected]>
Branch: 
Changeset: r1099:c40bc42d1f79
Date: 2019-10-31 20:45 +0200
http://bitbucket.org/pypy/buildbot/changeset/c40bc42d1f79/

Log:    add more documentation around using docker

diff --git a/docker/Dockerfile b/docker/Dockerfile
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -14,9 +14,19 @@
 # to "hang" the console running the slave. To stop the slave, simply CTRL-C or
 # kill the process.
 #
-# To enter the buildslave image
+# You might want to keep the PYPY_USESSION_DIR where the testing/building
+# artifacts are. Docker will not do this for you, so do something like this
+# to save the files outside the docker
+#
+# mkdir -p build_dir/tmp
+# docker run --rm --user $UID -v<abspath/to/builder/dir>:/build_dir> \
+#     -ePYPY_USESSION_DIR=/build_dir/tmp buildslave
+#
+# To enter the buildslave image, add a shell command to the end
+#
 # docker run -it --user $UID -v<abspath/to/builder/dir>:/build_dir> \
-#     buildslave /bin/bash
+#     -ePYPY_USESSION_DIR=/build_dir/tmp buildslave /bin/bash
+#
 
 FROM centos:centos6
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to