ci(molecule): use alpine wheels
netifaces wants to be built, we don't want to pull in build time
dependencies, so we point towards our wheels.
diff --git a/molecule/default/tools/install-dependencies b/molecule/default/tools/install-dependencies
index ddd14f3..23fa506 100755
--- a/molecule/default/tools/install-dependencies
+++ b/molecule/default/tools/install-dependencies
@@ -1,17 +1,6 @@
#!/bin/sh
-# NOTE(mnaser): The Molecule image does not ship with any build packages and it
-# does not use Alpine-shipped Python, this is a gross workaround
-# to avoid building `netifaces`.
-if [ -e /etc/alpine-release ]; then
- apk add py3-netifaces
- ln -s \
- /usr/lib/python3.9/site-packages/netifaces-0.11.0-py3.9.egg-info \
- /usr/local/lib/python3.9/site-packages/netifaces-0.11.0-py3.9.egg-info
- ln -s \
- /usr/lib/python3.9/site-packages/netifaces.cpython-39-x86_64-linux-musl.so \
- /usr/local/lib/python3.9/site-packages/netifaces.cpython-39-x86_64-linux-musl.so
-fi
-
# Install OpenStack SDK
-pip install 'openstacksdk<0.99.0'
+pip install \
+ --extra-index-url https://vexxhost.github.io/wheels/alpine-3.15/ \
+ 'openstacksdk<0.99.0'