Skip to content

Commit

Permalink
Fix python version in dockerfile (#536)
Browse files Browse the repository at this point in the history
* fix dockerfile

* fix
  • Loading branch information
rayrayraykk authored Mar 6, 2023
1 parent dbabfc5 commit b4c12d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ RUN apt-get -y update \
# install miniconda, in batch (silent) mode, does not edit PATH or .bashrc or .bash_profile
RUN apt-get update -y \
&& apt-get install -y wget
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm Miniconda3-latest-Linux-x86_64.sh
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-py39_23.1.0-1-Linux-x86_64.sh \
&& bash Miniconda3-py39_23.1.0-1-Linux-x86_64.sh -b \
&& rm Miniconda3-py39_23.1.0-1-Linux-x86_64.sh

ENV PATH=/root/miniconda3/bin:${PATH}
RUN source activate
Expand Down
6 changes: 3 additions & 3 deletions environment/docker_files/federatedscope-torch1.10.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ RUN apt-get -y update \
# install miniconda, in batch (silent) mode, does not edit PATH or .bashrc or .bash_profile
RUN apt-get update -y \
&& apt-get install -y wget
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm Miniconda3-latest-Linux-x86_64.sh
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-py39_23.1.0-1-Linux-x86_64.sh \
&& bash Miniconda3-py39_23.1.0-1-Linux-x86_64.sh -b \
&& rm Miniconda3-py39_23.1.0-1-Linux-x86_64.sh

ENV PATH=/root/miniconda3/bin:${PATH}
RUN source activate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ RUN apt-get -y update \
# install miniconda, in batch (silent) mode, does not edit PATH or .bashrc or .bash_profile
RUN apt-get update -y \
&& apt-get install -y wget
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm Miniconda3-latest-Linux-x86_64.sh
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-py39_23.1.0-1-Linux-x86_64.sh \
&& bash Miniconda3-py39_23.1.0-1-Linux-x86_64.sh -b \
&& rm Miniconda3-py39_23.1.0-1-Linux-x86_64.sh

ENV PATH=/root/miniconda3/bin:${PATH}
RUN source activate
Expand Down

0 comments on commit b4c12d0

Please sign in to comment.