Web Inventory tool, takes screenshots of webpages using Pyppeteer (headless Chrome/Chromium) and provides some extra bells & whistles to make life easier.
GNU General Public License v3.0
734
stars
109
forks
source link
Build fails on arm64 due to httptools pip package #23
$ docker run --rm busybox uname -a
Linux 21232f7f703d 5.4.39-linuxkit #1 SMP TIMESTAMP x86_64 GNU/Linux
$ docker build --tag witnessme https://github.com/byt3bl33d3r/WitnessMe.git
[+] Building TIMEDURATION (13/13) FINISHED
arm64:
$ docker run --rm busybox uname -a
Linux 790f4ba88c53 5.4.0-1022-raspi #25-Ubuntu SMP PREEMPT TIMESTAMP aarch64 GNU/Linux
$ docker build --tag witnessme https://github.com/byt3bl33d3r/WitnessMe.git
Building wheel for httptools (setup.py): started
Building wheel for httptools (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-i
nstall-tabquj4g/httptools/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tabquj4g/httptools/setup.py'"'"'
;f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"')
;f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ijz37d6j
cwd: /tmp/pip-install-tabquj4g/httptools/
Complete output (30 lines):
....etc....
The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 1
Most probable cause is tagging a binary blob for a specific architecture. In this case, it appears there is a problem with your upstream httptools pip package not having a prebuilt wheel for this architecture, and your base docker image does not have the required build tools.
x64:
arm64:
Most probable cause is tagging a binary blob for a specific architecture. In this case, it appears there is a problem with your upstream httptools pip package not having a prebuilt wheel for this architecture, and your base docker image does not have the required build tools.
x64:
arm64:
This pip package installs correctly using the full-size base image instead of slim:
arm64:
Forking the repo and only changing the docker base image to be python:3.8 instead of python:3.8-slim: https://github.com/byt3bl33d3r/WitnessMe/compare/master...kairzha:master
arm64: