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
69ec2bc4
Commit
69ec2bc4
authored
4 years ago
by
calrama
Browse files
Options
Downloads
Patches
Plain Diff
[centos,windows] python: update system-wide pip, pin cryptography to <3.4
parent
4dc31846
No related branches found
No related tags found
No related merge requests found
Pipeline
#35120
canceled
4 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
centos/Dockerfile
+11
-3
11 additions, 3 deletions
centos/Dockerfile
windows/base/Dockerfile
+6
-0
6 additions, 0 deletions
windows/base/Dockerfile
with
17 additions
and
3 deletions
centos/Dockerfile
+
11
−
3
View file @
69ec2bc4
...
...
@@ -346,6 +346,8 @@ RUN yum install -y \
libepoxy-devel
\
&&
\
yum clean all
&&
\
python3.6
-m
pip
--no-cache-dir
install
-U
pip
&&
\
python3.6
-m
pip
--no-cache-dir
install
'cryptography<3.4'
&&
\
python3.6
-m
pip
--no-cache-dir
install
\
wheel
\
twine
...
...
@@ -440,7 +442,9 @@ RUN version=3.9.1 && \
ldconfig
# Python 3.7 packages
RUN
python3.7
-m
pip
--no-cache-dir
install
\
RUN
python3.7
-m
pip
--no-cache-dir
install
-U
pip
&&
\
python3.7
-m
pip
--no-cache-dir
install
'cryptography<3.4'
&&
\
python3.7
-m
pip
--no-cache-dir
install
\
wheel
\
twine
\
pytest
\
...
...
@@ -448,7 +452,9 @@ RUN python3.7 -m pip --no-cache-dir install \
h5py
# Python 3.8 packages
RUN
python3.8
-m
pip
--no-cache-dir
install
\
RUN
python3.8
-m
pip
--no-cache-dir
install
-U
pip
&&
\
python3.8
-m
pip
--no-cache-dir
install
'cryptography<3.4'
&&
\
python3.8
-m
pip
--no-cache-dir
install
\
wheel
\
twine
\
pytest
\
...
...
@@ -456,7 +462,9 @@ RUN python3.8 -m pip --no-cache-dir install \
h5py
# Python 3.9 packages
RUN
python3.9
-m
pip
--no-cache-dir
install
\
RUN
python3.9
-m
pip
--no-cache-dir
install
-U
pip
&&
\
python3.9
-m
pip
--no-cache-dir
install
'cryptography<3.4'
&&
\
python3.9
-m
pip
--no-cache-dir
install
\
wheel
\
twine
\
pytest
\
...
...
This diff is collapsed.
Click to expand it.
windows/base/Dockerfile
+
6
−
0
View file @
69ec2bc4
...
...
@@ -90,6 +90,8 @@ RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1;
Must-Run choco
install
-y
--allow-multiple-versions
python
--version
3.8.7
;
\
Must-Run choco
install
-y
--allow-multiple-versions
python
--version
3.7.9
;
\
$env
:PATH
=
"
\"
$(
[
Environment]::GetEnvironmentVariable
(
'PATH'
,
[
EnvironmentVariableTarget]::User
)
)
;
$(
[
Environment]::GetEnvironmentVariable
(
'PATH'
,
[
EnvironmentVariableTarget]::Machine
)
)
\"
"
;
\
Must-Run /Python39/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
-U
pip
;
\
Must-Run /Python39/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
'cryptography<3.4'
;
\
Must-Run /Python39/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
\
wheel
\
twine
\
...
...
@@ -97,6 +99,8 @@ RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1;
pandas
\
h5py
\
;
\
Must-Run /Python38/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
-U
pip
;
\
Must-Run /Python38/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
'cryptography<3.4'
;
\
Must-Run /Python38/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
\
wheel
\
twine
\
...
...
@@ -104,6 +108,8 @@ RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1;
pandas
\
h5py
\
;
\
Must-Run /Python37/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
-U
pip
;
\
Must-Run /Python37/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
'cryptography<3.4'
;
\
Must-Run /Python37/python
-m
pip
--no-cache-dir
install
--no-warn-script-location
\
wheel
\
twine
\
...
...
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