mp-build¶
mp-build returns 'Unable to build pak file'¶
In most cases, this error indicates issues with building the container image. The most probable causes are:
- Unknown Instruction :
mp-build
Building adapter [Finished]
Unable to build pak file
ERROR: Unable to build Docker file at /Users/user/code/aria_ops/management-packs/test:
{'message': 'dockerfile parse error line 7: unknown instruction: COP'}
mp-build
Building adapter [Finished]
Unable to build pak file
ERROR: Unable to build Docker file at /Users/user/code/management-packs/test:
The command '/bin/sh -c pip3 install -r adapter_requirements.txt --upgrade' returned a non-zero code: 1
docker build .
in the project's root directory and look at the stack trace for clues.
Info
For issues regarding mp-build and docker, see Docker's page.