File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
pkg/workloads/cortex/client/cortex Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
33
33
rm -rf ~/.cache ~/miniconda.sh
34
34
35
35
# split the conda installations because the dev boxes have limited memory
36
- RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
36
+ RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
37
37
/opt/conda/bin/conda clean -a && \
38
38
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
39
39
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
33
33
rm -rf ~/.cache ~/miniconda.sh
34
34
35
35
# split the conda installations because the dev boxes have limited memory
36
- RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
36
+ RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
37
37
/opt/conda/bin/conda clean -a && \
38
38
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
39
39
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
33
33
rm -rf ~/.cache ~/miniconda.sh
34
34
35
35
# split the conda installations because the dev boxes have limited memory
36
- RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
36
+ RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
37
37
/opt/conda/bin/conda clean -a && \
38
38
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
39
39
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
35
35
rm -rf ~/.cache ~/miniconda.sh
36
36
37
37
# split the conda installations because the dev boxes have limited memory
38
- RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
38
+ RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
39
39
/opt/conda/bin/conda clean -a && \
40
40
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
41
41
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
43
43
rm -rf ~/.cache ~/miniconda.sh
44
44
45
45
# split the conda installations because the dev boxes have limited memory
46
- RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
46
+ RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
47
47
/opt/conda/bin/conda clean -a && \
48
48
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
49
49
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ RUN curl "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.s
33
33
rm -rf ~/.cache ~/miniconda.sh
34
34
35
35
# split the conda installations because the dev boxes have limited memory
36
- RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip && \
36
+ RUN /opt/conda/bin/conda create -n env -c conda-forge python=$PYTHONVERSION pip=19.* && \
37
37
/opt/conda/bin/conda clean -a && \
38
38
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
39
39
echo ". /opt/conda/etc/profile.d/conda.sh" > ~/.env && \
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ def deploy(
116
116
)
117
117
118
118
if not is_python_set :
119
- conda_packages = [f"python={ actual_version } " ] + conda_packages
119
+ conda_packages = [f"python={ actual_version } " , "pip=19.*" ] + conda_packages
120
120
121
121
if len (requirements ) > 0 :
122
122
with open (project_dir / "requirements.txt" , "w" ) as requirements_file :
You can’t perform that action at this time.
0 commit comments