I am trying this sample code from "https://docs.docker.com/compose/gettingstarted on Python installed on RedHat enterprise linux 7 / 8 image.
Getting error 127 on this line RUN apk add --no-cache git gcc musl-dev linux-headers
Thanks
I am trying this sample code from "https://docs.docker.com/compose/gettingstarted on Python installed on RedHat enterprise linux 7 / 8 image.
Getting error 127 on this line RUN apk add --no-cache git gcc musl-dev linux-headers
Thanks
On Red Hat Enterprise Linux, installing the gcc
package installs both the system C compiler and the C library development files, including the required UAPI kernel headers. So this command is sufficient to install a C development environment:
yum install gcc
If you need the C++ compiler, you should use this instead:
yum install gcc-c++
© 2022 - 2024 — McMap. All rights reserved.