Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
automation
ci
Commits
04c82cc6
Commit
04c82cc6
authored
4 years ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
[centos] add python 3.9.1
parent
b6593020
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#35108
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
centos/Dockerfile
+34
-0
34 additions, 0 deletions
centos/Dockerfile
with
34 additions
and
0 deletions
centos/Dockerfile
+
34
−
0
View file @
04c82cc6
...
...
@@ -413,6 +413,32 @@ RUN version=3.8.6 && \
rm
-rf
Python-
${
version
}*
&&
\
ldconfig
# Python 3.9
RUN
version
=
3.9.1
&&
\
yum
install
-y
\
openssl-devel
\
libffi-devel
\
sqlite-devel
\
&&
\
yum clean all
&&
\
source
/etc/profile
&&
\
cd
/tmp
&&
\
curl
-sSLO
https://www.python.org/ftp/python/
${
version
}
/Python-
${
version
}
.tgz
&&
\
tar
-xf
Python-
${
version
}
.tgz
&&
\
cd
Python-
${
version
}
&&
\
./configure
\
--prefix
=
/usr
\
--enable-optimizations
\
--enable-shared
\
--with-ensurepip
=
install
\
--with-system-expat
\
--with-system-ffi
\
&&
\
make
-j
$(
nproc
)
altinstall
&&
\
cd
..
&&
\
rm
-rf
Python-
${
version
}*
&&
\
ldconfig
# Python 3.7 packages
RUN
python3.7
-m
pip
--no-cache-dir
install
\
wheel
\
...
...
@@ -429,6 +455,14 @@ RUN python3.8 -m pip --no-cache-dir install \
pandas
\
h5py
# Python 3.9 packages
RUN
python3.9
-m
pip
--no-cache-dir
install
\
wheel
\
twine
\
pytest
\
pandas
\
h5py
# xsimd
RUN
name
=
xsimd
&&
\
version
=
7.4.9
&&
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment