eth-sri / ilf

AI based fuzzer based on imitation learning
Apache License 2.0
149 stars 32 forks source link

Docker installation fails on OS X #14

Closed nettrino closed 2 years ago

nettrino commented 2 years ago

Hey all,

docker build -t ilf . fails on OS X 12.2.1 during the pip installation of requirements:

 > [30/31] RUN pip3 install -r requirements.txt --no-cache-dir:
#34 3.899 Collecting pycryptodome>=3.4.7 (from -r requirements.txt (line 1))
#34 5.453   Downloading https://files.pythonhosted.org/packages/a6/e7/a9f558ff1ddef20469cf500e13493bcff1a968714a4881cc0460e6597ed6/pycryptodome-3.14.1-cp35-abi3-manylinux1_x86_64.whl (2.0MB)
#34 8.422 Collecting pysha3>=1.0.1 (from -r requirements.txt (line 2))
#34 8.864   Downloading https://files.pythonhosted.org/packages/32/2a/b93e0c6d90c7c45e2fab35d7ef349e8c5bd7387a048e961b041fd9521556/pysha3-1.0.2-cp36-cp36m-manylinux1_x86_64.whl (127kB)
#34 9.076 Collecting graphviz (from -r requirements.txt (line 3))
#34 9.674   Downloading https://files.pythonhosted.org/packages/9d/fb/886e8ec7862989afc0c35d15813b6c665fe134cc6027cdde2fa300abe9a2/graphviz-0.19.1-py3-none-any.whl (46kB)
#34 9.746 Collecting numpy (from -r requirements.txt (line 4))
#34 14.15   Downloading https://files.pythonhosted.org/packages/45/b2/6c7545bb7a38754d63048c7696804a0d947328125d81bf12beaa692c3ae3/numpy-1.19.5-cp36-cp36m-manylinux1_x86_64.whl (13.4MB)
#34 21.59 Collecting torch (from -r requirements.txt (line 5))
#34 22.90   Downloading https://files.pythonhosted.org/packages/a4/54/81b1c3c574a1ffde54b0c82ed2a37d81395709cdd5f50e59970aeed5d95e/torch-1.10.2-cp36-cp36m-manylinux1_x86_64.whl (881.9MB)
#34 176.5 Killed
------
executor failed running [/bin/sh -c pip3 install -r requirements.txt --no-cache-dir]: exit code: 137
LostBenjamin commented 2 years ago

Hi nettrino,

Thanks for identifying and fixing the issue! Your pull request was merged. I am closing this now.

Best, Jingxuan