rhel8

Redhat's RHEL8 equivalent of “apk add --no-cache gcc musl-dev linux-headers”

百般思念 提交于 2021-01-04 07:52:47
问题 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 回答1: 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