about summary refs log tree commit diff homepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorDomenico Fabio Marino <dfm114@ic.ac.uk>2016-06-30 16:35:52 +0100
committerDomenico Fabio Marino <dfm114@ic.ac.uk>2016-06-30 16:35:52 +0100
commitfc6848c07c3e8c6f0127928206c0aeccb9c1259b (patch)
tree2b630bc67e41846f86e64463a66d9385fa9c173b /Dockerfile
parente5a958a8e10fa2f52e071dffc6c77dcc6356f074 (diff)
downloadklee-fc6848c07c3e8c6f0127928206c0aeccb9c1259b.tar.gz
Dockerfile: link binaries to /usr/bin
Signed-off-by: Domenico Fabio Marino <dfm114@ic.ac.uk>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index aa3ca6b6..ae5312d5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -132,3 +132,8 @@ USER klee
 
 # Add KLEE binary directory to PATH
 RUN echo 'export PATH=$PATH:'${BUILD_DIR}'/klee/Release+Asserts/bin' >> /home/klee/.bashrc
+
+# Link klee to /usr/bin so that it can be used by docker run
+USER root
+RUN for exec in ${BUILD_DIR}/klee/Release+Asserts/bin/* ; do ln -s ${exec} /usr/bin/`basename ${exec}`; done
+USER klee