(Suggestion) Cannot directly install the package in Apline Docker.
See original GitHub issueWhich service(blob, file, queue) does this issue concern?
Blob
Which version of the SDK was used? Please provide the output of pip freeze
.
azure-storage==0.36.0
What problem was encountered?
I tried to do “RUN venv/bin/pip install azure-storage” in an Alpine Docker, but this gave multiple errors. Possibly because SSL and other libraries are required. Please check my solution (below) and give me your comments. And maybe, the installation of the below mentioned packages can be automated (just a suggestion).
Have you found a mitigation/solution?
I found out that, some more dependencies were required, as follows: RUN apk add --no-cache --virtual .pynacl_deps build-base python3-dev libffi-dev openssl-dev
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Can't install Python package on Alpine Docker anymore
You are trying to use the python (alias) library instead of python3 . Try to use apk update && apk upgrade && apk...
Read more >How to install a specific package version in Alpine? - Super User
The official recommendation is to keep your own mirror / repository with all the specific package and their versions that you may want...
Read more >Vulnerability scanning for Docker local images
Looking to speed up your development cycles? Quickly detect and learn how to remediate CVEs in your images by running docker scan IMAGE_NAME...
Read more >Install .NET on Alpine - Microsoft Learn
Demonstrates the various ways to install .NET SDK and .NET Runtime on Alpine.
Read more >The worst so-called “best practice” for Docker - Python⇒Speed
As we saw above, Docker's own documentation until very recently suggested that you not install security updates because you “cannot upgrade ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, I posted a solution in my first post. This solution worked out for me. But, I dont know if its the best solution, you are the expert, maybe you can comment. Thanks.
Hi @G-K-Patel, thanks for getting back to me! If you don’t mind, could you please share what you did to make your system work?
It doesn’t sounds like the problem was related to our SDK, but it would nice for people who stumble upon this issue to see how you solved the problem. Thanks!