Skip to content

Option to skip Iconify icon cache warmup in production builds #3170

@jvancoillie

Description

@jvancoillie

Referencing #2493

I can no longer disable Iconify because I need it enabled in production.
This causes asset-map:compile to fail during builds due to the icon cache warmup step.

It would be very useful to have an option to skip the warmup, allowing production builds to succeed without internet access.

#18 [php_apache_prod 7/7] RUN php bin/console asset-map:compile
#18 0.297 Warming the icon cache...
#18 0.359 
#18 0.360 In ErrorChunk.php line 73:
#18 0.360                                                                                
#18 0.360   Received HTTP code 403 from proxy after CONNECT for "https://api.iconify.de/  
#18 0.360   sign/collections".                                                           
#18 0.360                                                                                
#18 0.360 
#18 0.361 In CurlResponse.php line 336:
#18 0.361                                                                                
#18 0.361   Received HTTP code 403 from proxy after CONNECT for "https://api.iconify.de/  
#18 0.361   sign/collections".                                                           
#18 0.361                                                                                
#18 0.361 
#18 0.361 asset-map:compile
#18 0.361 
#18 ERROR: process "/bin/sh -c php bin/console asset-map:compile" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions