diff --git a/charms/kserve-controller/charmcraft.yaml b/charms/kserve-controller/charmcraft.yaml index 9559a6d5..fd5823c3 100644 --- a/charms/kserve-controller/charmcraft.yaml +++ b/charms/kserve-controller/charmcraft.yaml @@ -12,4 +12,9 @@ bases: parts: charm: charm-python-packages: [setuptools, pip] - build-packages: [git] + # Following lines are needed due to https://github.com/canonical/charmcraft/issues/1722 + build-snaps: [rustup] + build-packages: [pkg-config, libffi-dev, libssl-dev] + override-build: | + rustup default stable + craftctl default