Skip to content

Commit

Permalink
Update Dockerfile with updatealternatives
Browse files Browse the repository at this point in the history
  • Loading branch information
dhspence authored May 8, 2024
1 parent 89d0381 commit 495c8ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker-baseimage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
python3-pip \
&& apt-get clean all

RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1

RUN update-alternatives --install /usr/bin/python python /usr/local/bin/python3.11 1 && \
update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip3.11 1

RUN pip install numpy && \
pip install cruzdb && \
Expand Down

0 comments on commit 495c8ab

Please sign in to comment.