mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 19:26:33 +00:00
fix(ci): Fix pip installation
The pip tarball URL now redirects to another location, which caused `curl` to fail, as the follow-redirects option wasn't specified. Change-Type: patch
This commit is contained in:
parent
1c43ee1b18
commit
ede510139f
@ -53,7 +53,7 @@ RUN npm config set spin=false
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
# FIXME: Work around "Cannot fetch index base URL http://pypi.python.org/simple/" error
|
||||
RUN curl "https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz" > pip-9.0.1.tar.gz \
|
||||
RUN curl -vvv -L "https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz" > pip-9.0.1.tar.gz \
|
||||
&& tar xvfz pip-9.0.1.tar.gz \
|
||||
&& cd pip-9.0.1 \
|
||||
&& python setup.py install
|
||||
|
@ -67,7 +67,7 @@ RUN npm config set spin=false
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
# FIXME: Work around "Cannot fetch index base URL http://pypi.python.org/simple/" error
|
||||
RUN curl "https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz" > pip-9.0.1.tar.gz \
|
||||
RUN curl -vvv -L "https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz" > pip-9.0.1.tar.gz \
|
||||
&& tar xvfz pip-9.0.1.tar.gz \
|
||||
&& cd pip-9.0.1 \
|
||||
&& python setup.py install
|
||||
|
@ -66,7 +66,7 @@ RUN npm config set spin=false
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
# FIXME: Work around "Cannot fetch index base URL http://pypi.python.org/simple/" error
|
||||
RUN curl "https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz" > pip-9.0.1.tar.gz \
|
||||
RUN curl -vvv -L "https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz" > pip-9.0.1.tar.gz \
|
||||
&& tar xvfz pip-9.0.1.tar.gz \
|
||||
&& cd pip-9.0.1 \
|
||||
&& python setup.py install
|
||||
|
@ -71,7 +71,7 @@ RUN npm config set spin=false
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
# FIXME: Work around "Cannot fetch index base URL http://pypi.python.org/simple/" error
|
||||
RUN curl "https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz" > pip-9.0.1.tar.gz \
|
||||
RUN curl -vvv -L "https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz" > pip-9.0.1.tar.gz \
|
||||
&& tar xvfz pip-9.0.1.tar.gz \
|
||||
&& cd pip-9.0.1 \
|
||||
&& python setup.py install
|
||||
|
Loading…
x
Reference in New Issue
Block a user