-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Description
I successfully installed v1.3.0 but when trying to generate the Dockerfile I get the following error: Cannot retrieve the requirements for the PHAR. Make sure the PHAR has been built with Box and the requirement checker enabled.
Here's the steps to reproduce:
`% php cods app:build
Building process
┌ Build version? ──────────────────────────────────────────────┐
│ v11.0.0 │
└──────────────────────────────────────────────────────────────┘
-
Moving application to production mode: ✔
-
Compile into a single file: ✔
Compiled successfully: /Users/bergmab/PhpstormProjects/cods/builds/cods
% php cods app:docker -vv
Box Requirements Checker
Using PHP 8.3.4
PHP is using the following php.ini file:
/opt/homebrew/etc/php/8.3/php.ini
Checking Box requirements:
.....
.....
[OK] Your system is ready to run the application.
🐳 Generating a Dockerfile for the PHAR "/Users/bergmab/PhpstormProjects/cods/builds/cods"
[ERROR] Cannot retrieve the requirements for the PHAR. Make sure the PHAR has
been built with Box and the requirement checker enabled. `
Your environment
PHP version
% php -v PHP 8.3.4 (cli) (built: Mar 12 2024 23:42:26) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.4, Copyright (c) Zend Technologies with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans with Zend OPcache v8.3.4, Copyright (c), by Zend Technologies