Skip to content

Help installing ssh2-python on alpine docker container #184

Closed
@Maz4id

Description

@Maz4id

This is not an issue with ssh2-python, I just need some help getting it to work on stock alpine.

I built an app and now I'm trying to add docker support to it. As os, I picked alpine because it's lightweight, but I'm getting an error while using python3 -m pip install ssh2-python
I will also attach a screenshot of each error because it's easier to read
error1.png
error2.png

Steps to reproduce:

user@localhost:~$ docker run -it alpine:latest
/ # apk update && apk upgrade
/ # apk add python3 py3-pip
/ # python3 -m pip install --upgrade pip
/ # python3 -m pip install ssh2-python
After this command I get:
error1.txt
I also tried to add cmake to the system by running apk add cmake, but then you get another error:
error2.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions