Hello, we have updated our system to v.0.18.16 and we started to notice that with_exec function is acting in a different way then before, we were running on v.0.13.x before but I didn't see any breaking changes on the changelogs.
This is a code example to reproduce the error:
@function
async def helm(self) -> Container:
result = dag.container().from_(f"alpine/helm:3.15.3")
result = result.with_exec(["apk", "update"])
return result
When it gets to execute the "apk update" now the "helm" command is prepend to it becoming "helm apk update" making the call invalid and throwing an error, I tried to execute it as a shell command using ["sh", "-c", "apk", "update"] as arguments but I get the same result.
Any help?
Thanks!