Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
7251f6cc
Commit
7251f6cc
authored
Feb 09, 2017
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure we have pip and pip3 at the right version pointing to the right python
parent
0df26e09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
docker/build/go-agent/Dockerfile
+4
-8
No files found.
docker/build/go-agent/Dockerfile
View file @
7251f6cc
...
...
@@ -47,18 +47,14 @@ RUN printf "\ngo ALL=(ALL:ALL) NOPASSWD: /usr/bin/pip, /usr/local/bin/pip\n
RUN
printf
"
\n
go ALL=(ALL:ALL) NOPASSWD: /usr/bin/pip3, /usr/local/bin/pip3
\n
"
>>
/etc/sudoers
# Upgrade pip and setup tools. Needed for Ansible 2.x
# Must upgrade to latest before pinning to work around bug
# https://github.com/pypa/pip/issues/3862
RUN
\
pip
3 install
--upgrade
pip
&&
\
pip
install
--upgrade
pip
&&
\
pip
install
--upgrade
pip
==
8.1.2
&&
\
pip
3 install
--upgrade
pip
==
8.1.2
&&
\
#pip may have moved from /usr/bin/ to /usr/local/bin/. This clears bash's path cache.
hash -r && \
pip3 install --upgrade pip==8.1.2 && \
pip install --upgrade pip==8.1.2 && \
# upgrade setuptools early to avoid no distribution errors
pip
3
install --upgrade setuptools==24.0.3 && \
pip install --upgrade setuptools==24.0.3
pip install --upgrade setuptools==24.0.3 && \
pip
3
install --upgrade setuptools==24.0.3
# Install AWS command-line interface - for AWS operations in a go-agent task.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment