-
Notifications
You must be signed in to change notification settings - Fork 128
update python in docker files #1097
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,19 +9,23 @@ ARG COMPILER_PATH | |||||
| ARG COMPILER_LD_LIBRARY_PATH | ||||||
|
|
||||||
| RUN apt-get update -y && \ | ||||||
| apt-get install -y software-properties-common ca-certificates gnupg && \ | ||||||
| add-apt-repository ppa:deadsnakes/ppa && \ | ||||||
| apt-get update -y && \ | ||||||
|
Comment on lines
+12
to
+14
|
||||||
| if [ "$TARGET" != "gpu" ]; then \ | ||||||
| apt-get install -y \ | ||||||
| build-essential git make cmake gcc g++ gfortran bc\ | ||||||
| python3 python3-venv python3-pip \ | ||||||
| build-essential git make cmake gcc g++ gfortran bc \ | ||||||
| python3.11 python3.11-venv python3-pip \ | ||||||
|
Comment on lines
+17
to
+18
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: cd .github && cat -n Dockerfile | head -40Repository: MFlowCode/MFC Length of output: 1503 Replace The generic 🤖 Prompt for AI Agents |
||||||
| openmpi-bin libopenmpi-dev libfftw3-dev \ | ||||||
| mpich libmpich-dev; \ | ||||||
| else \ | ||||||
| apt-get install -y \ | ||||||
| build-essential git make cmake bc\ | ||||||
| python3 python3-venv python3-pip \ | ||||||
| build-essential git make cmake bc \ | ||||||
| python3.11 python3.11-venv python3-pip \ | ||||||
| libfftw3-dev \ | ||||||
| openmpi-bin libopenmpi-dev; \ | ||||||
| fi && \ | ||||||
| update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2 && \ | ||||||
|
||||||
| update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2 && \ | |
| update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 100 && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Add the
-yflag to theadd-apt-repositorycommand to prevent it from blocking during non-interactive builds. [possible issue, importance: 7]