From fc6848c07c3e8c6f0127928206c0aeccb9c1259b Mon Sep 17 00:00:00 2001 From: Domenico Fabio Marino Date: Thu, 30 Jun 2016 16:35:52 +0100 Subject: Dockerfile: link binaries to /usr/bin Signed-off-by: Domenico Fabio Marino --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit 1.4.1