-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building Docker images which require pip to install psutils fails unless gcc is installed #3802
Comments
@TonyWildish Can you confirm that you running inside the dev container? Thanks. |
no, running from the Terminal command line on a Mac. |
Can you test within the dev container? As per the other thread, it's extremely hard to support multiple platforms, hence the dev container resolves most of these challenges. |
can do, I'll get back to you. |
Hi @TonyWildish did this work in the dev container? Thanks. |
Hi Marcus, yes, it does work in the devcontainer. |
Ok, closing as the supported route is via dev container. Thanks. |
Remember to label the issue with the appropriate area, and also assign it to yourself if you plan to work on the issue in the near future.
Describe the bug
Building the Docker images for
api_app/Dockerfile
orresource_processor/vmss_porter/Dockerfile
fails at the 'pip install' step due to gcc and python3-dev not being installed in the image.In both cases, adding
RUN apt-get update -y && apt-get install -y gcc python3-dev
before the pip install command is enough to fix the problem.N.B. This is on a Mac with a manual installation from the terminal, but I don't believe that is responsible for the problem since it occurs inside the container being built.
Steps to reproduce
Azure TRE release version (e.g. v0.14.0 or main):
main
Deployed Azure TRE components - click the (i) in the UI:
none, didn't get that far
The text was updated successfully, but these errors were encountered: