cyberark / KubiScan

A tool to scan Kubernetes cluster for risky permissions
GNU General Public License v3.0
1.31k stars 130 forks source link

Looking for alpine based docker #4

Closed prasenforu closed 5 years ago

prasenforu commented 5 years ago

Looking for alpine based docker make lightweight

g3rzi commented 5 years ago

As far as I remember I had problems to install it on alpine because of python3. But I will check again if it possible to make it much lighter.

g3rzi commented 5 years ago

I checked, I wasn't able to install it with the regular pip3 installer but succeeded to install it from the source by:

git clone --recursive https://github.com/kubernetes-client/python.git
cd python/
python3 setup.py install

I will make an image with alpine, and update you once it done.

prasenforu commented 5 years ago

waiting ... Thanks !!

g3rzi commented 5 years ago

I just updated Dockerfiles that supports alpine image. I will update this case one it will be in the Dokcer Hub.

prasenforu commented 5 years ago

Thanks,

Let me check.

Will update you.

prasenforu commented 5 years ago

It's working & reduced image size.

g3rzi commented 5 years ago

Great. I also work to upload it to the public Docker Hub repository. I will update when it will be ready.