Open BuddhiWathsala opened 2 years ago
@BuddhiWathsala
You can create a base image with curl and provide it as the base in Cloud.toml
.
[1] https://github.com/ballerina-platform/ballerina-spec/blob/master/c2c/code-to-cloud-spec.md#cloudtoml-properties [2] https://github.com/ballerina-platform/ballerina-spec/blob/master/c2c/code-to-cloud-spec.md#container-creation
Description: I'm trying to implement a use case to debug a Ballerina HTTP service in K8s. I need cURL to debug that scenario. But the container does not have cURL installed, also it doesn't allow me to install it. I know this is a design decision for security reasons, and it is suitable for production environments. However, it would be much more convenient for the developers to have some flexibility with installing packages and using cURL in the development time. Maybe, having a different base container in the dev time would work.
@anuruddhal @xlight05 WDYT?