best practices for using rhel based images (UBI) and integration in CI/CD with ddev #7947
Replies: 2 comments 1 reply
-
No, we don't have any known cases.
This would likely be hard to do because we depend on the deb.sury.org repo for all PHP versions, and DDEV uses many We have the webimage config, that is meant for this, but DDEV will fail when the image is not Debian-based.
https://github.com/ddev/ddev-gitlab-ci
Interesting that we're going to support both of these (#7702, #7939) in the next DDEV release. |
Beta Was this translation helpful? Give feedback.
-
|
We strongly discourage you from trying to recreate the Instead of that, DDEV provides an easy way to add layers to the existing webserver. Please see https://docs.ddev.com/en/stable/users/extend/customizing-images/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
we are being asked to integrate an application whose developers are using ddev on their workstations in an existing environment which is fully rhel based and has an existing CI/CD based on gitlab. the application is laravel based with a little bit of nodejs sprinkled around.
the existing environment has strict security requirements, non root UID/GID in containers, selinux enabled on the hosts, custom base images that are scanned for known CVE, yadda yadda yadda, it will all be deployed both to kubernetes/openshift and single servers with podman container runtimes.
we are doing the devops part and have never used ddev ourselves, we're going through the documentation right now, already built some basic projects to understand what it does and how it does it and we are wondering if anyone has gone through something similar and if there's known footguns and/or best practices, we're open to suggestions and input from the community.
We're aware that ddev is mainly focused on local development but obvioulsy this has an impact when you have an existing CI/CD and the above deployment requirements so that everything goes smoothly.
basically we are looking at overwriting the BASE_IMAGE and/or leveraging multistage build to start from rhel UBI images while mantaining the various goodies ddev comes with for the local development experience and minimize disruptions when building for the targe deployment env in the CI/CD.
https://docs.ddev.com/en/stable/users/extend/customizing-images/
Beta Was this translation helpful? Give feedback.
All reactions