Skip to content

Commit

Permalink
docker: Install only the same apt packages as in GHA CI
Browse files Browse the repository at this point in the history
Use --break-system-packages as required (sort of) by Py3.11+
  • Loading branch information
etal committed Apr 11, 2024
1 parent 4798855 commit df9aa07
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,16 @@ MAINTAINER Eric Talevich <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
liblzma-dev \
python3-biopython \
python3-dev \
python3-matplotlib \
python3-numpy \
python3-pip \
python3-reportlab \
python3-scipy \
python3-pandas \
python3-tk \
r-base-core \
r-bioc-dnacopy \
zlib1g-dev
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install -U pip
RUN pip3 install cnvkit==0.9.10
RUN pip3 install --upgrade pip --break-system-packages && \
pip3 install cnvkit==0.9.10 --break-system-packages && \
pip3 cache purge
# Let matplotlib build its font cache
#RUN head `which cnvkit.py`
RUN cnvkit.py version

## USER CONFIGURATION, containers should not run as root
Expand Down

0 comments on commit df9aa07

Please sign in to comment.