On Tue, 30 Oct 2018 at 18:10, Osman Zakir wrote:
>
> So I have to do "ENV export PATH=$HOME/usr/bin:$PATH"? Is that what you mean?
Your question is off-topic here. Try Docker forums, StackOverflow, ...
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
So I have to do "ENV export PATH=$HOME/usr/bin:$PATH"? Is that what you mean?
From: CMake on behalf of Roger Leigh
Sent: Tuesday, October 30, 2018 8:46 PM
To: cmake@cmake.org
Subject: Re: [CMake] Docker container can't find cmake executable
On 3
On 30/10/2018 15:41, Osman Zakir wrote:
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
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
"
Bu