jorge07 / symfony-6-es-cqrs-boilerplate

Symfony 6 DDD ES CQRS backend boilerplate.
MIT License
1.06k stars 185 forks source link

ex-soap - problems with installation #203

Closed oskarbarcz closed 3 years ago

oskarbarcz commented 3 years ago

Hey jorge07,

I need to install ext-soap in order to install one of my dependencies. How do I do it with your image? Can you describe this in few words?

Thanks in advance, Oskar Barcz

jorge07 commented 3 years ago

Hi Oscar

You'll need to add php7-soap in the Dockerfile apk add step in the dev step and the prod one. This means that there's probably room for improvement in the Dockerfile to be a bit more DRY, will give it a thought.

oskarbarcz commented 3 years ago

Okey, but I'm kinda lost there - on regular server I'd use apt install php74-soap, and what exactly I'm supposed to do here?

jorge07 commented 3 years ago

It's an alpine OS and uses apk as package manger. You can find base image and OS version here and search for the official packages you need here. Codecast repository is included in base image so you can install packages from there by simply adding @cast at the end of the package name. Example: RUN apk add php7-soap@cast

oskarbarcz commented 3 years ago

Now it's clear, thanks a lot for your work - I didn't expected such fast response!

jorge07 commented 3 years ago

Added this PR as reference #204 so other people ca benefit too.