Issue
I have a very basic Dockerfile which uses FROM centos:7
, then downloads Python-2.7.9.tar.xz
, and attempts to ./configure && make && make altinstall
.
I get the following error upon make
:
creating Makefile
/bin/sh: make: command not found
The command '/bin/sh -c cd /root/Python-2.7.9 && ./configure -- prefix=/usr/local && make && make altinstall' returned a non-zero code: 127
I've installing the following libs prior to running make
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel xz-libs gcc g++ build-essential kernel-headers kernel-devel
Yet error still persists. How can I resolve this?
Solution
A simple RUN yum -y install make
solved the problem
Answered By - Sam Hammamy Answer Checked By - David Goodson (WPSolving Volunteer)