Skip to content
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

[CI] Updating dockerfiles #12986

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,27 @@ RUN git clone -b 'v5.5.1' --depth 1 https://github.com/MmgTools/mmg /workspace/m
rm -r /workspace/mmg_5_5_1 && \
cd /

# Install setuptools
# 3.8
RUN /opt/python/c38-cp38/bin/python -m pip install --upgrade pip
RUN /opt/python/c38-cp38/bin/python -m pip install --upgrade setuptools wheel
# 3.9
RUN /opt/python/c39-cp39/bin/python -m pip install --upgrade pip
RUN /opt/python/c39-cp39/bin/python -m pip install --upgrade setuptools wheel
# 3.10
RUN /opt/python/c310-cp310/bin/python -m pip install --upgrade pip
RUN /opt/python/c310-cp310/bin/python -m pip install --upgrade setuptools wheel
# 3.11
RUN /opt/python/c311-cp311/bin/python -m pip install --upgrade pip
RUN /opt/python/c311-cp311/bin/python -m pip install --upgrade setuptools wheel
# 3.12
RUN /opt/python/c312-cp312/bin/python -m pip install --upgrade pip
RUN /opt/python/c312-cp312/bin/python -m pip install --upgrade setuptools wheel
# 3.13
RUN /opt/python/c313-cp313/bin/python -m pip install --upgrade pip
RUN /opt/python/c313-cp313/bin/python -m pip install --upgrade setuptools wheel


COPY start.sh /workspace/scripts/start.sh

RUN chmod +x /workspace/scripts/start.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ RUN powershell.exe -Command \
c:\python\312\python.exe -m pip install --upgrade pip; \
c:\python\312\python.exe -m pip install --upgrade setuptools wheel

#Install python 3.13
RUN powershell.exe -Command \
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
wget https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe -OutFile c:\temp\python313.exe; \
mkdir c:\python\313; \
Start-Process c:\temp\python313.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=0 TargetDir=c:\\python\\313' -Wait; \
c:\python\313\python.exe -m pip install --upgrade pip; \
c:\python\313\python.exe -m pip install --upgrade setuptools wheel

# Download and extract hdf5
RUN powershell.exe -Command \
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
Expand Down
Loading