Skip to content

Commit

Permalink
🐛(dockerfiles) install pip for python 2.7
Browse files Browse the repository at this point in the history
As python 2.7 is used in all ubuntu images, we need to get matching
pip version (pypa/get-pip#82)
  • Loading branch information
kernicPanel committed Jan 29, 2021
1 parent 08c4f84 commit ca0063a
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 18 deletions.
2 changes: 2 additions & 0 deletions releases/dogwood/3/bare/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

## [Unreleased]

- Fix pip install for python 2.7

## [dogwood.3-1.3.1] - 2020-11-10

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions releases/dogwood/3/bare/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down
2 changes: 2 additions & 0 deletions releases/dogwood/3/fun/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

## [Unreleased]

- Fix pip install for python 2.7

## [dogwood.3-fun-1.18.2] - 2021-01-18

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions releases/dogwood/3/fun/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down
2 changes: 2 additions & 0 deletions releases/eucalyptus/3/bare/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

## [Unreleased]

- Fix pip install for python 2.7

## [eucalyptus.3-1.2.0] - 2020-05-14

### Added
Expand Down
4 changes: 2 additions & 2 deletions releases/eucalyptus/3/bare/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down
2 changes: 2 additions & 0 deletions releases/eucalyptus/3/wb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

## [Unreleased]

- Fix pip install for python 2.7

## [eucalyptus.3-wb-1.9.3] - 2020-09-08

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions releases/eucalyptus/3/wb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down
2 changes: 2 additions & 0 deletions releases/hawthorn/1/bare/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

## [Unreleased]

- Fix pip install for python 2.7

## [hawthorn.1-3.3.0] - 2020-05-14

### Added
Expand Down
4 changes: 2 additions & 2 deletions releases/hawthorn/1/bare/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down
2 changes: 2 additions & 0 deletions releases/hawthorn/1/oee/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

## [Unreleased]

- Fix pip install for python 2.7

## [hawthorn.1-oee-3.3.3] - 2020-11-20

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions releases/hawthorn/1/oee/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down
2 changes: 2 additions & 0 deletions releases/ironwood/2/bare/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

## [Unreleased]

- Fix pip install for python 2.7

## [ironwood.2-1.0.0] - 2020-09-10

- First release of an `ironwood.2-bare` Docker image.
4 changes: 2 additions & 2 deletions releases/ironwood/2/bare/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down
2 changes: 2 additions & 0 deletions releases/ironwood/2/oee/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ release.

## [Unreleased]

- Fix pip install for python 2.7

## [ironwood.2-oee-1.0.3] - 2020-11-20

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions releases/ironwood/2/oee/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down
2 changes: 2 additions & 0 deletions releases/master/0/bare/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ release.
## [Unreleased]

- Fix pip install for python 2.7

[unreleased]: https://github.com/openfun/openedx-docker
4 changes: 2 additions & 2 deletions releases/master/0/bare/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ WORKDIR /downloads
RUN apt-get update && \
apt-get install -y curl

# Download pip installer
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/get-pip.py
# Download pip installer for python 2.7
RUN curl -sLo get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py

# Download edxapp release
# Get default EDX_RELEASE_REF value (defined on top)
Expand Down

0 comments on commit ca0063a

Please sign in to comment.