atc-project / atomic-threat-coverage

Actionable analytics designed to combat threats
Apache License 2.0
962 stars 155 forks source link

Docker build failed - gcc no such file or directory #222

Closed ThePicpixel closed 3 years ago

ThePicpixel commented 3 years ago

Hello !

Everytime I want to build the container according to the README the build fail when it tries to download python regex library.

unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zugkz3ko/regex_5c32842a6c6b4975b244ab4d40699a9a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zugkz3ko/regex_5c32842a6c6b4975b244ab4d40699a9a/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-03aj5qvg/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.8/regex Check the logs for full command output.

I fixed it locally and I will submit a PR as soon as possible.

yugoslavskiy commented 3 years ago

Hello @ThePicpixel!

Thank you very much for your help! I will close the issue as you've fixed it in your PR.

Have a nice day! (: