• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter 4 and Docker

#1
Hi everyone.

Just finished to try Codeigniter 4 in a Docker container, and I have to say I'm really surprised there's no mention of such technology in the documentation.
I have some points and I'd like to hear your opinion

1) Composer install DOESN'T work out of the box. I find it really surprising because that tool is intended to simplify tasks, not to spend time troubleshooting.

2)Why encoraging people to develop on php local server (spark) installing dependencies and making system "dirty"?

3)What was so wrong with Manual Install? With manual install I was able to get at least the welcome message. Controllers subfolders separation didn't work, and that's a major issue IMO.

I suggest we all start to seriously consider Docker enviroment as a primary alternative, cause it's safe and also realiable for local dev. Not to mention that, once finished, u can create your own images to send in a CI/CD context.

Hope you all get the "constructive" side of my post and would like to give me a feedback, or maybe start to have ideas to implement such great  tech as Docker.
[Image: https://vulndetect.org/assets/uploads/fi...docker.ico]

Andy Biancoblu 

Quote:Once you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Reply

#2
Manual install is still an option (https://codeigniter4.github.io/userguide...anual.html).
Composer install of the appstarter works out of the box, as far as we know. Which composer install are you referring to?
RUnning the local (spark) server is an *option* for those who don't want to configure their server.

"Docker" is coming, this quarter Smile
Reply

#3
I can testify that composer works out of the box.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.