about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorMartinNowack <martin.nowack@gmail.com>2016-06-30 22:05:27 +0200
committerGitHub <noreply@github.com>2016-06-30 22:05:27 +0200
commit0d199e6174fa03893a64e3781368410368a1235c (patch)
tree2b630bc67e41846f86e64463a66d9385fa9c173b
parente5a958a8e10fa2f52e071dffc6c77dcc6356f074 (diff)
parentfc6848c07c3e8c6f0127928206c0aeccb9c1259b (diff)
downloadklee-0d199e6174fa03893a64e3781368410368a1235c.tar.gz
Merge pull request #424 from helicopter88/master
Dockerfile: link binaries to /usr/bin
-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