Skip to content

Commit

Permalink
Update cmake to 3.23.3 for k-NN in 2.9.0 in docker images (#3722)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Jul 10, 2023
1 parent 2613d45 commit bbb3542
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ RUN ln -sfn /usr/local/bin/python3.9 /usr/bin/python3 && \

# Add k-NN Library dependencies
RUN yum install epel-release -y && yum repolist && yum install openblas-static lapack gcc-gfortran -y
RUN pip3 install cmake==3.21.3
RUN pip3 install cmake==3.23.3

# Change User
USER 1000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN dnf install epel-release -y && dnf repolist && \
dnf install -y 'dnf-command(config-manager)' && \
dnf config-manager --set-enabled powertools && \
dnf install openblas-static lapack gcc-gfortran -y && dnf clean all
RUN pip3 install cmake==3.21.3
RUN pip3 install cmake==3.23.3

# Change User
USER 1000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ RUN update-alternatives --set python /usr/bin/python3.9 && \

# Add other dependencies
RUN yum install -y epel-release && yum clean all && yum install -y chromium jq && yum clean all && rm -rf /var/cache/yum/* && \
pip3 install cmake==3.21.3
pip3 install cmake==3.23.3

# Change User
USER 1000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ RUN update-alternatives --set python /usr/bin/python3.9 && \

# Add other dependencies
RUN dnf install -y epel-release && dnf clean all && dnf install -y chromium jq && dnf clean all && \
pip3 install cmake==3.21.3
pip3 install cmake==3.23.3

# We use the version test to check if packages installed correctly
# And get added to the PATH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y curl git gnupg
# Install pip packages
RUN curl -SL https://bootstrap.pypa.io/get-pip.py | python && \
pip3 install pip==23.1.2 && pip3 install pipenv==2023.6.12 awscli==1.22.12 && \
pip3 install cmake==3.21.3
pip3 install cmake==3.23.3

# Create user group
RUN apt-get install -y sudo && \
Expand Down

0 comments on commit bbb3542

Please sign in to comment.