update python to 3.8.5
parent
08eec16960
commit
1fceab1ead
|
@ -54,8 +54,8 @@ ENV LC_ALL en_US.UTF-8
|
||||||
RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
|
RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
|
||||||
|
|
||||||
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
|
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
|
||||||
RUN pyenv install 3.8.2
|
RUN pyenv install 3.8.5
|
||||||
RUN pyenv global 3.8.2
|
RUN pyenv global 3.8.5
|
||||||
RUN pyenv rehash
|
RUN pyenv rehash
|
||||||
|
|
||||||
RUN pip install --upgrade pip==18.0
|
RUN pip install --upgrade pip==18.0
|
||||||
|
|
|
@ -44,8 +44,8 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal
|
||||||
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
|
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
|
||||||
|
|
||||||
COPY requirements.txt /tmp/
|
COPY requirements.txt /tmp/
|
||||||
RUN pyenv install 3.8.2 && \
|
RUN pyenv install 3.8.5 && \
|
||||||
pyenv global 3.8.2 && \
|
pyenv global 3.8.5 && \
|
||||||
pyenv rehash && \
|
pyenv rehash && \
|
||||||
pip install --no-cache-dir --upgrade pip==18.0 && \
|
pip install --no-cache-dir --upgrade pip==18.0 && \
|
||||||
pip install --no-cache-dir -r /tmp/requirements.txt
|
pip install --no-cache-dir -r /tmp/requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue