Skip to content

Commit

Permalink
build: update pip and setuptools in dockerfile
Browse files Browse the repository at this point in the history
Otherwise a form of this issue occurs due to older setuptools not supporting
pyproject.toml:
pypa/setuptools#3269

Might be resolved on Ubuntu 24.04 images.
  • Loading branch information
eginhard committed May 8, 2024
1 parent 0504ae3 commit 129b488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM ${BASE}

RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y --no-install-recommends gcc g++ make python3 python3-dev python3-pip python3-venv python3-wheel espeak-ng libsndfile1-dev && rm -rf /var/lib/apt/lists/*
RUN pip3 install -U pip setuptools
RUN pip3 install llvmlite --ignore-installed

# Install Dependencies:
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

# Install Major Python Dependencies:
RUN pip3 install -U pip setuptools
RUN pip3 install llvmlite --ignore-installed
RUN pip3 install torch torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
RUN rm -rf /root/.cache/pip
Expand Down

0 comments on commit 129b488

Please sign in to comment.