Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot generate Dockerfile using version 1.3.0 #5

Open
bergmab opened this issue Apr 29, 2024 · 0 comments
Open

Cannot generate Dockerfile using version 1.3.0 #5

bergmab opened this issue Apr 29, 2024 · 0 comments

Comments

@bergmab
Copy link

bergmab commented Apr 29, 2024

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 │
└──────────────────────────────────────────────────────────────┘

  1. Moving application to production mode: ✔

  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant