bugsnag / bugsnag-php

BugSnag error monitoring and crash reporting tool for PHP apps
https://docs.bugsnag.com/platforms/php
MIT License
554 stars 77 forks source link

Fix PHAR build #635

Closed imjoehaines closed 2 years ago

imjoehaines commented 2 years ago

Goal

The CA certs in the docker image have finally expired so anything using SSL stopped working

Updating the packages fixes this as it pulls in new versions of curl/libssl/ca-certificates and friends

I've also switched over to copying Composer from their docker image as it's a bit faster than downloading & installing it, especially once cached

GrahamCampbell commented 2 years ago

You could build the phar on a PHP 7.4 image, but tell composer to emulate PHP 5.5 when resolving dependencies?

imjoehaines commented 2 years ago

You could build the phar on a PHP 7.4 image, but tell composer to emulate PHP 5.5 when resolving dependencies?

I'd prefer to avoid big changes to this and I'm not sure if Burgomaster runs on PHP 7 anyway