Redhat's RHEL8 equivalent of "apk add --no-cache gcc musl-dev linux-headers"
Asked Answered
A

1

3

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

Achromaticity answered 21/4, 2020 at 16:7 Comment(2)
Follow - #6514231 yum install kernel-headers --disableexcludes=allAchromaticity
this doesn't refer to airflow, I think, so could you remove the airflow tag please?Barbary
N
0

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++
Nought answered 17/9, 2020 at 17:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.