How can I address an “Cmake is not installed” error running docker on macOS?
I tried to run this https://github.com/mkhaled87/pFaces-OmegaThreads in my Mac terminal and When I entered sh build.sh
, it showed
CMAKE is not installed. Please install it first.
I have CMAKE on my MacBook. So I don't understand what causes this bug.
% mkdir omega
% cd omega
% docker pull mkhaled87/omega:latest
% docker run -it -v $(pwd):/docker_shared mkhaled87/omega
#cd pFaces-OmegaThreads/
#git pull
#sh build.sh
CMAKE is not installed. Please install it first.
Whether cmake is on your Mac does not matter in this instance.
You are running a docker image.
Docker runs a virtual machine that runs Linux.
You need to check what is in the Dockerfile for that image and add cmake to that.