misp-docker
misp-docker copied to clipboard
Step 47 Faild
Step 47/121 : RUN php composer.phar install
---> Running in d0178a4aeca2
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- pear/crypt_gpg v1.4.0 requires pear/console_commandline * -> satisfiable by pear/console_commandline[dev-master, v1.2.1, v1.2.2].
- pear/crypt_gpg v1.4.1 requires pear/console_commandline * -> satisfiable by pear/console_commandline[dev-master, v1.2.1, v1.2.2].
- pear/crypt_gpg v1.4.2 requires pear/console_commandline * -> satisfiable by pear/console_commandline[dev-master, v1.2.1, v1.2.2].
- pear/crypt_gpg v1.4.3 requires pear/console_commandline * -> satisfiable by pear/console_commandline[dev-master, v1.2.1, v1.2.2].
- pear/crypt_gpg v1.6.0 requires pear/console_commandline * -> satisfiable by pear/console_commandline[dev-master, v1.2.1, v1.2.2].
- pear/crypt_gpg v1.6.1 requires pear/console_commandline * -> satisfiable by pear/console_commandline[dev-master, v1.2.1, v1.2.2].
- pear/crypt_gpg v1.6.2 requires pear/console_commandline * -> satisfiable by pear/console_commandline[dev-master, v1.2.1, v1.2.2].
- pear/console_commandline v1.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- pear/console_commandline v1.2.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- pear/console_commandline dev-master requires ext-dom * -> the requested PHP extension dom is missing from your system.
- Installation request for pear/crypt_gpg @stable -> satisfiable by pear/crypt_gpg[v1.4.0, v1.4.1, v1.4.2, v1.4.3, v1.6.0, v1.6.1, v1.6.2].
To enable extensions, verify that they are enabled in those .ini files:
- /etc/php/7.2/cli/php.ini
- /etc/php/7.2/cli/conf.d/10-opcache.ini
- /etc/php/7.2/cli/conf.d/10-pdo.ini
- /etc/php/7.2/cli/conf.d/20-calendar.ini
- /etc/php/7.2/cli/conf.d/20-ctype.ini
- /etc/php/7.2/cli/conf.d/20-exif.ini
- /etc/php/7.2/cli/conf.d/20-fileinfo.ini
- /etc/php/7.2/cli/conf.d/20-ftp.ini
- /etc/php/7.2/cli/conf.d/20-gettext.ini
- /etc/php/7.2/cli/conf.d/20-iconv.ini
- /etc/php/7.2/cli/conf.d/20-igbinary.ini
- /etc/php/7.2/cli/conf.d/20-json.ini
- /etc/php/7.2/cli/conf.d/20-mbstring.ini
- /etc/php/7.2/cli/conf.d/20-phar.ini
- /etc/php/7.2/cli/conf.d/20-posix.ini
- /etc/php/7.2/cli/conf.d/20-readline.ini
- /etc/php/7.2/cli/conf.d/20-redis.ini
- /etc/php/7.2/cli/conf.d/20-shmop.ini
- /etc/php/7.2/cli/conf.d/20-sockets.ini
- /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.2/cli/conf.d/20-sysvsem.ini
- /etc/php/7.2/cli/conf.d/20-sysvshm.ini
- /etc/php/7.2/cli/conf.d/20-tokenizer.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
ERROR: Service 'misp-web' failed to build: The command '/bin/sh -c php composer.phar install' returned a non-zero code: 2
I have also encountered this issue. My output was the same.
Sorry for the delay. I just published a new Dockerfile that fixes a lot of issues. Your error should be fixed now.
Thanks!