Describe the bug
Creating kubeval-validator image from Dockerfile fails while building airshipctl using 10_build_gate.sh.
Steps To Reproduce
Run ./tools/gate/10_build_gate.sh
Below errors are observed -
"\u001b[91m error: subprocess-exited-with-error",
" ",
" × python setup.py egg_info did not run successfully.",
" │ exit code: 1",
" ╰─> [3 lines of output]",
" sys.argv ['/tmp/pip-install-69ub2krz/ruamel-yaml-clib_ed9d9aa8a2924c0ea6a9bce9d95fc4bd/setup.py', 'egg_info', '--egg-base', '/tmp/pip-pip-egg-info-8ym3eg4n']",
" test compiling /tmp/tmp_ruamel_qbw8a5h3/test_ruamel_yaml.c -> test_ruamel_yaml compile error: /tmp/tmp_ruamel_qbw8a5h3/test_ruamel_yaml.c",
" Exception: command 'gcc' failed: No such file or directory",
" [end of output]",
_ruamel_yaml.c:6:10: fatal error: Python.h: No such file or directory",
" 6 | #include \"Python.h\"",
" | ^~~~~~~~~~",
" compilation terminated.",
" error: command '/usr/bin/gcc' failed with exit code 1",
Describe the bug
Creating kubeval-validator image from Dockerfile fails while building airshipctl using 10_build_gate.sh.
Steps To Reproduce
Run ./tools/gate/10_build_gate.sh
Below errors are observed -