question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(Suggestion) Cannot directly install the package in Apline Docker.

See original GitHub issue

Which 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:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gk-patelcommented, Sep 24, 2018

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.

0reactions
zezha-msftcommented, Sep 24, 2018

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found