[CMake] Docker container can't find cmake executable

Osman Zakir osmanzakir90 at hotmail.com
Tue Oct 30 11:41:48 EDT 2018


I put this command in the Dockerfile:
"
RUN mkdir $HOME/usr \
    && wget -O cmake-linux.sh https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.sh \​
    && sh cmake-linux.sh -- --skip-license --prefix=$HOME/usr \​
    && cd $HOME/usr \​
    && ls \​
    && export PATH=$HOME/usr/bin:$PATH
"
But when it gets to running CMake, it can't find the executable.  Please help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181030/0b56104c/attachment.html>


More information about the CMake mailing list